cancel
Showing results for 
Search instead for 
Did you mean: 

How to define my language as default in login page ?

ribz33
Champ on-the-rise
Champ on-the-rise
Hi,

on my server default language on login page is english and i want french instead.
I did this configuration in web-client config-custom.xml:

<config evaluator="string-compare" condition="Languages" replace="true">
  <languages>
    <language locale="fr_FR">Français</language>
    <language locale="en_US">English</language>
  </languages>
</config>

What is strange is that on my computer all is working well, when i start login page french is by default selected in dropdown list. But when i do same thing on server its english by default in dropdown list.

What happen ? I think its a problem of locale on server or application server…
Is there a way to change it in alfresco, without change server configuration ?

Thanks in advance.
2 REPLIES 2

gavinc
Champ in-the-making
Champ in-the-making
Several fixes around the default langauge for a user have been committed to one of the enterprise codelines recently. The change should get merged to HEAD shortly, this may well fix your problem.

http://issues.alfresco.com/browse/AWC-1816

dorowan
Champ in-the-making
Champ in-the-making
[does not work anymore - back to english as default login - I do not know why it worked for a while]

I am running Alfresco 2.1 on Debian Etch with Tomcat 5.5 installed via APT and had the same problem for quite a while. I stopped bothering. Right now I made an update of the server (apt-get update && apt-get upgrade) and there where updates for locales and tomcat. Since I made the upgrade the selected default language in Alfresco is no longer englisch but german.

I have no way to tell wether the update of locales or the update of tomcat were the reason for the change but one of these two must have made the difference.

Carsten

P.S.: Somewhere I read that alfreso detects the default language depending on the browser settings. I do not remember where I read that.