Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Prasant 10 posts 90 karma points
    Dec 07, 2022 @ 09:18
    Prasant
    0

    How can I change the greeting from the login screen in Umbraco 11?

    How can I change the greeting from the login screen in Umbraco 11?

    I have tried adding the below code via creating wwwroot>config>lang>en_us.user.xml.

    As per documentation provided by Umbraco, It didn't work

    <area alias="login">
    <key alias="greeting0">Happy super Sunday</key>
    <key alias="greeting1">Happy manic Monday </key>
    <key alias="greeting2">Happy tubular Tuesday</key>
    <key alias="greeting3">Happy wonderful Wednesday</key>
    <key alias="greeting4">Happy thunderous Thursday</key>
    <key alias="greeting5">Happy funky Friday</key>
    <key alias="greeting6">Happy Caturday</key>
    

  • Huw Reddick 1702 posts 5999 karma points MVP c-trib
    Dec 07, 2022 @ 15:45
    Huw Reddick
    1

    It would seem that a lot of the documentation for both 10 and 11 just doesn't work as described!

  • Huw Reddick 1702 posts 5999 karma points MVP c-trib
    Dec 14, 2022 @ 19:14
    Huw Reddick
    2

    Hi Prasant,

    I raised an issue for the documentation and received the following in formation which I have tested and works.

    The config folder should be under the root of your project, not under wwwroot

    enter image description here

    then in the XML file the <area> tag needs to be encapsulated with a <language culture="en-US"> tag containing the culture that you are using.

    <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
    <language culture="en-US">
    <area alias="login">
      <key alias="greeting0">Happy super Sunday</key>
      <key alias="greeting1">Happy manic Monday </key>
      <key alias="greeting2">Happy tubular Tuesday</key>
      <key alias="greeting3">Happy wonderful Wednesday!!</key>
      <key alias="greeting4">Happy thunderous Thursday</key>
      <key alias="greeting5">Happy funky Friday</key>
      <key alias="greeting6">Happy Caturday</key>
      </area>
    </language>
    
Please Sign in or register to post replies

Write your reply to:

Draft