cancel
Showing results for 
Search instead for 
Did you mean: 

changing login Language

janvg
Champ in-the-making
Champ in-the-making
When we login to Alfresco the default language selection is English. We would like to set this default selection to another language. Is this possible ?
Also, when you enter your username and password and then select another language you have to re-enter username and password.
5 REPLIES 5

jorgesidart
Champ in-the-making
Champ in-the-making
i'm join to that question. Also, we have the problem that from the last upgrade (2.0>2.1), if Alfresco starts only in unattended mode (from cron), the "main" language (the one that the administrator indicates during the installation) changes to the default language (English).

kevinr
Star Contributor
Star Contributor
It should default to the first language entry in the configured list. Change the order in your web-client-config-custom.xml:

   <config evaluator="string-compare" condition="Languages">
      <languages>
         <language locale="en_US">English</language>
         <language locale="fr_FR">French</language>
      </languages>
   </config>

Selecting a different language refreshes the login page (so the locale can be changed for redisplaying the form fields etc.) and the password is not persisted for security reasons.

Hope this helps,

Kevin

janvg
Champ in-the-making
Champ in-the-making
Kevin,

I changed the code as follows

<config evaluator="string-compare" condition="Languages">
      <languages>
          <language locale="du_NL">Nederlands</language>
         <language locale="fr_FR">French</language> 
          <language locale="en_US">English</language>        
         </languages>
   </config>

I have rebooted the server but still English is the default language.
I also tried to take away English as a language, but then English is still there so I suppose I have to change somthing more ?

kevinr
Star Contributor
Star Contributor
Which version of Alfresco are you using? Then i'll see if we can reproduce it.

Thanks,

Kevin

michaelh
Champ on-the-rise
Champ on-the-rise
Is French the language you want to use ?

In this case, you perhaps need to rename/copy all *.fr_FR.properties files (in \shared\classes\alfresco\messages) to *.fr_BE.properties.

It's because the browser sends a fr_BE parameter (Same thing in Switzerland with fr_CH) Alfresco can't deal with.

When starting in unattended mode, also make sure the server 'locale' is well configured.

French speaking people can read this post on the dedicated forum http://forum.alfresco-fr.org/viewtopic.php?id=463