cancel
Showing results for 
Search instead for 
Did you mean: 

how to change language of alfresco share

bsaric
Champ in-the-making
Champ in-the-making
OK, i have managed to ad another language besides english to alfresco explorer but I just cant seem to change the language of alfresco share.

My web-client-config-custom.xml file looks like this:

<!– Example of adding languages to the list in the login page –>
   <config evaluator="string-compare" condition="Languages" replace="true">
      <languages>
         <language locale="hr_HR">Croatian</language>
    <language locale="en_US">English</language>
      </languages>
   </config>

and I have put .properties files for the croatian language in C:\Alfresco\tomcat\shared\classes\alfresco\messages

Please help.
17 REPLIES 17

jayjayecl
Confirmed Champ
Confirmed Champ
Alfresco share language is automatically chosen according to the locale of your browser.
Moreover, in order to have the various translations, you'll have to download your language package from Alfresco forge…

hope this helps

bsaric
Champ in-the-making
Champ in-the-making
actually, it doesn't Smiley Sad

I've  have tried it in FF 3.5.5 and IE 8 by putting croatian hr_HR on top of the language list AND putting croatian hr_HR as the ONLY language in the list and STILL alfresco share is in english

mikeh
Star Contributor
Star Contributor
Yes, it does  Smiley Happy

However, altering the Alfresco Explorer configuration won't translate Share. You need to install a language pack for Share.

I only see a Hungarian language pack for Alfresco Explorer v1.4 on the Forge, so I doubt you've managed to install a Share one. It looks like you'll have to supply the translation yourself.

Thanks,
Mike

bsaric
Champ in-the-making
Champ in-the-making
MikeH,

I am really grateful for your help but somehow it doesn't work for me.
You see, I already copied the .properties files for a CROATIAN language. I didn't just altered web-client-config-custom.xml file.

and I have put .properties files for the croatian language in C:\Alfresco\tomcat\shared\classes\alfresco\messages

Did You mean croatian when You wrote that there is a language pack for hungarian…or is it that Share is only translated in Hungarian?  :roll:

mikeh
Star Contributor
Star Contributor
Whoops - sorry, I meant Croatian (don't know where I got Hungarian from!)

Anyway, same problem - Share is a different set of .properties files and the latest Croatian language pack on the Forge seems to be for Explorer v2.1, not Share.

Thanks,
Mike

bsaric
Champ in-the-making
Champ in-the-making
this was REALLY helpful  Smiley Very Happy  point earned  😎

bsaric
Champ in-the-making
Champ in-the-making
just a sub-question(s)  :?

is it the same procedure with .properties files for Share?  (just put it in C:\Alfresco\tomcat\shared\classes\alfresco\messages since I already altered web-client-config-custom.xml file)

where can i find English .properties files for Share so i can become part of the translating team  Smiley Happy

brauliotrujillo
Champ in-the-making
Champ in-the-making
Whoops - sorry, I meant Croatian (don't know where I got Hungarian from!)

Anyway, same problem - Share is a different set of .properties files and the latest Croatian language pack on the Forge seems to be for Explorer v2.1, not Share.

Thanks,
Mike

@Mike, when you say that Share has a different set of .properties files, what is the path to those files and can we use the same procedure used to apply the language pack for Explorer?

I have succesfully installed the spanish language pack for Alfresco Explorer but i have not been able to accomplish the same for Share, it keeps showing only English.

Thanks in advance!

brauliotrujillo
Champ in-the-making
Champ in-the-making
I manage to find the .get.properties files for Alfresco Share, they are located at:  tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco , in the components and modules folders. I highly recommend to BACKUP those files before you do any changes, i found that the hard way.

I am currently doing the Spanish translation for those files, when i´m done i´ll post them in the spanish language pack forge.

One tip for using special and accented characters, in the properties files you have to encode those characters using the prefix "\u00" and then the two character code, one quick example, let´s say that you are looking to translate "Day" to spanish which is "Día", the encoding for "í" is "ED" so you have to encode it as:


button.day=D\u00EDa

Next is a reference for the codes: http://www.w3schools.com/TAGS/ref_urlencode.asp

PS: kudos to the development team for making a kickass app like alfresco share!