Forum LAMS for Tech-Heads - General Forum: Translations and Themes


 
You may request notification for Translations and Themes.
Search: 

1: Translations and Themes
10/13/10 06:00 AM
[ Reply | Forward ]
Please tell if there is a way to compile LAMS with my own translations? (or to edit an existing) in LAMS 2.3.4 - 2.4?

And what about themes? Will it be accessible in 2.4 release?

Thank you!

Posted by Alex Lifanov

2: Re: Translations and Themes
In response to 1 10/13/10 07:41 PM
[ Reply | Forward ]
Hi Alex,

All the translations are located in the jboss-4.0.2/server/default/deploy/lams.ear/lams-dictionary.jar/org/lamsfoundation/lams folder. If you need to edit your a translation, you can do it there.

For instance if you want to change a Q&A label for Spanish, the file you would need to edit is:

jboss-4.0.2/server/default/deploy/lams.ear/lams-dictionary.jar/org/lamsfoundation/lams/tool/qa/ApplicationResources_es_ES.properties

Now if you are modifying UTF8/Unicode language characters (Greek, Polish, Russian, Chinese), I would suggest you will need to use the native2ascii utility (comes with Java JDK) to convert the ApplicationResource_ru_RU.properties file into an editable file (which then you can normally edit with any normal text editor).

So if I want to edit the Russian tranlation I would do

$ native2ascii -reverse ApplicationResources_ru_RU.properties > Russian.txt

Then just normally edit the Russian.txt file and change the labels as much as I like. After you are done editing, run:

$ native2ascii Russian.txt > ApplicationResources_ru_RU.properties

And then copy the ApplicationResources_ru_RU.properties to
jboss-4.0.2/server/default/deploy/lams.ear/lams-dictionary.jar/org/lamsfoundation/lams/tool/qa/

You will need to stop LAMS, delete the jboss-4.0.2/server/default/tmp and work directories and restart LAMS for these labels to take effect.


The other options is to join the translating team as you can just edit the translations for a particular language directly from the i18n site. Using the i18n is a lot easier (see http://wiki.lamsfoundation.org/display/lams/Translating+LAMS )

As a translator, you can also export your translations into a convenient lams-dictionary.zip that you can just use in your lams server straight away.

Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Translations and Themes
In response to 1 10/13/10 08:20 PM
[ Reply | Forward ]
> And what about themes? Will it be accessible in 2.4 release?

The good news is that LAMS Themes and Skins is going to be part of LAMS 2.3.5 :-)

Ernie

Posted by Ernie Ghiglione

4: Re: Re: Translations and Themes
In response to 3 10/14/10 02:35 AM
[ Reply | Forward ]
Ernie, that's a great news about LAMS 2.3.5!

Thank you very much for localization manual!

Sincerely,
Alex

Posted by Alex Lifanov

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum