cancel
Showing results for 
Search instead for 
Did you mean: 

Change default language of alfresco's login page

alfrescobeginne
Champ in-the-making
Champ in-the-making
Hi all!
I have created my own language by coping my language packet in to \\tomcat\shared\classes\alfresco\messages
and register it in to web-client-config-custom.xml file:

<config evaluator="string-compare" condition="Languages">
      <languages>
    <language locale="vi_VN">Viet Nam</language>
      </languages>
   </config>


but i couldn't set it as default language.
How to change default language of alfresco?
Help me please!
Thanks!
4 REPLIES 4

pjcaracuel
Champ in-the-making
Champ in-the-making
Hi,
You can do it using user options console.

Regards

alfrescobeginne
Champ in-the-making
Champ in-the-making
Thank pjcaracuel  for your replying!
But  I don't know how to use user options console. Smiley Surprisedops:
Can you show me a step by step to change default language by using user option console? Smiley Tongue
thank you very much!

pjcaracuel
Champ in-the-making
Champ in-the-making
Hi,

You can do it. Put the following sentence into the login page

<% Application.setLanguage(FacesContext.getCurrentInstance(),"xx_XX"); %>


Regards

wabson
Star Contributor
Star Contributor
Rather than making changes in individual JSPs, a better solution is to change the locale which Alfresco starts up in. This will ensure that the Guest home space, the Guest dashboard and the login screen are all displayed in your chosen language initially. See this post for details:

http://forums.alfresco.com/viewtopic.php?f=16&t=11265#p39869

Cheers,
Will.