cancel
Showing results for 
Search instead for 
Did you mean: 

login language

navigator
Champ in-the-making
Champ in-the-making
Hello,

I have just installed Alfresco and begin learning about it.

In the manuals and forums I've read that you can choose a language at login, but in my login page there is only one option to choose: "english". There is no more languages to choose.

I've taken a look at the directories, and the files at "messages" directory
are for different languages, and the options in the file web-client-config-custom.xml are for different languages as well (by the way, english is not in the list).

Why is english the only choice?

Thanks
3 REPLIES 3

dorowan
Champ in-the-making
Champ in-the-making
It is described in the Wiki:

Adding Languages
To add another language to the drop down list in the login page add the following to web-client-config-custom.xml:

<config evaluator="string-compare" condition="Languages">
   <languages>
      <language locale="fr_FR">French</language>
   </languages>
</config>
http://wiki.alfresco.com/wiki/Simple_Customisations#Adding_Languages

It worked for me this way though I have always selected "english" as default in my Alfreco 2.1 installation on a Linuxbox but I do not care about that very much.

Greetings,
Carsten

navigator
Champ in-the-making
Champ in-the-making
It is described in the Wiki:

Adding Languages
To add another language to the drop down list in the login page add the following to web-client-config-custom.xml:

<config evaluator="string-compare" condition="Languages">
   <languages>
      <language locale="fr_FR">French</language>
   </languages>
</config>
http://wiki.alfresco.com/wiki/Simple_Customisations#Adding_Languages

It worked for me this way though I have always selected "english" as default in my Alfreco 2.1 installation on a Linuxbox but I do not care about that very much.

Greetings,
Carsten

Hello,

thanks by the answer, but I have already tried that point.

My file web-client-config-custom.xml has this content:

   <config evaluator="string-compare" condition="Languages">
      <languages>
         <language locale="ca_ES">Catalan</language>
         <language locale="hr_HR">Croatian</language>
         <language locale="cs_CZ">Czech</language>
         <language locale="da_DK">Danish</language>
         <language locale="de_DE">German</language>
         <language locale="es_ES">Spanish</language>
         <language locale="el_GR">Greek</language>
         <language locale="fi_FI">Finnish</language>
         <language locale="fr_FR">French</language>
         <language locale="it_IT">Italian</language>
         <language locale="ja_JP">Japanese</language>
         <language locale="du_NL">Dutch</language>
         <language locale="pl_PL">Polish</language>
         <language locale="pt_PT">Portuguese</language>
         <language locale="pt_BR">Portuguese (Brazilian)</language>
         <language locale="ru_RU">Russian</language>
         <language locale="sv_SV">Swedish</language>
         <language locale="tr_TR">Turkish</language>
         <language locale="zh_CN">Simplified Chinese</language>
      </languages>
   </config>

as you can see, there are many languages in that list, but only "English" as choose in login page.

Btw, English doesn't appear in the list above.

Regards.

dorowan
Champ in-the-making
Champ in-the-making
Are you sure that it is really web-client-config-custom.xml and not something like web-client-config-custom.xml.example? Right now I do not have access to my system but if I remember it right then I had to rename the file to web-client-config-custom.xml.

Another possibility would be that the part is commented out. Did you check that?

If you made any changes you have to restart alfresco in order to take effect.

P.S.: I am neither an Alfresco nor Tomcat expert.
P.P.S: My experiences are from Alfresco 2.1.