customizing [welcome] etc. on login page Options
Petr Snobelt
Posted: Thursday, May 15, 2008 10:41:49 AM
Rank: Aficionado

Joined: 10/2/2007
Posts: 146
Location: Czech Republic
Hi,
How i can customize this texts ?

I try create dictionary items [welcome] and welcome but nothing works.

Thanks for help
Dirk
Posted: Thursday, May 15, 2008 10:52:40 AM

Rank: Fanatic

Joined: 9/27/2007
Posts: 403
Location: Belgium
Petr,

I've done it before (for Dutch), not quite sure anymore what I've done to get it displayed in Dutch, but you could find some entries in umbraco\config\lang\{language}.xml (Look for <area alias="general"> tag in the xml, there are some entries that might be of interest to you)
You just need to replace {language} by your language (ISO code?).

I'm just not quite sure whether it's based on your browser language settings or based on the language of the user (which can be set in the user section).

Good luck and let us know if you've found it, and what exactly you've done.

Regards,
/Dirk




level 1 certified - umbraco blog at netaddicts.be
Petr Snobelt
Posted: Thursday, May 15, 2008 11:54:36 AM
Rank: Aficionado

Joined: 10/2/2007
Posts: 146
Location: Czech Republic
Hi,
Thank for tip,

When I try copy en.xml as cs.xml (for Czech) it now show texts defined in general and in login areas of xml files.
Then I try experiment with browsers langs and it looks it dosn't matter.

Next I delete cs.xml and add this to web.config

Code:
<location path="umbraco/login.aspx">
        <system.web>
            <globalization culture="en-US" />
        </system.web>
</location>


It overrides server default settings and it also works. Culture attribute can be added to main globalization but setting it only to login page is minimal change ...

Petr
dawoe
Posted: Monday, May 19, 2008 10:13:26 AM

Rank: Aficionado

Joined: 1/19/2008
Posts: 147
Location: Belgium
You can change the default language for the admin area with this web.config setting

Code:

<add key="umbracoDefaultUILanguage" value="nl" />


Converting a DotNetNuke site to Umbraco : Follow it here
Petr Snobelt
Posted: Wednesday, June 18, 2008 11:08:56 AM
Rank: Aficionado

Joined: 10/2/2007
Posts: 146
Location: Czech Republic
dawoe wrote:
You can change the default language for the admin area with this web.config setting

Code:

<add key="umbracoDefaultUILanguage" value="nl" />


Today I create new instalation (with v 3.05) add <add key="umbracoDefaultUILanguage" value="en" />, but login page still have not english texts. Admin interface is in english for me without this parameter, too.
hoehler
Posted: Wednesday, June 18, 2008 5:29:15 PM

Rank: Addict

Joined: 7/19/2006
Posts: 584
Location: Bad Homburg, Germany
try adding
Code:
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB" />

or somthing similiar to your system.web section in web.config

hth, Thomas


• 2007/2008 MVP • www.thoehler.com • Bad Homburg, Germany
Petr Snobelt
Posted: Thursday, June 19, 2008 8:30:01 AM
Rank: Aficionado

Joined: 10/2/2007
Posts: 146
Location: Czech Republic
Hi, Thomas

I already discovered solution in previous message.
Code:

<location path="umbraco/login.aspx">
        <system.web>
            <globalization culture="en-US" />
        </system.web>
</location>


I point to umbracoDefaultUILanguage dosn't work for others (And for core team to fix it of course :-)

BTW: Be aware, your solution can change formating dates and currency for whole site ...
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.