Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 05/04/2017 14:12:28

PeteGR
Guest
Registered: 05/04/2017
Posts: 1

How to create new language?

Hello friends.

Where i can to create new language (example GR for Greek) or to copy and translate English language to Greek and then to upload it somewhere?

Thank you..

Offline

#2 11/04/2017 09:19:59

Laurence Aumeunier
Expert Team
Registered: 10/08/2010
Posts: 154

Re: How to create new language?

Hello,

Do you want to add the Greek language for yours sites or for the Ametys application ?

To add a new available language for yours sites you have to edit your WEB-INF/param/languages.xml file :

<languages>
    <language code="fr" i18n="true">plugin.cms:PLUGINS_CMS_LANGUAGES_LABEL_FR</language>
    <language code="en" i18n="true">plugin.cms:PLUGINS_CMS_LANGUAGES_LABEL_EN</language>
    ....
    <language code="gr" i18n="true">application:LANGUAGE_LABEL_GR</language>
</languages>

and translate the i18n "LANGUAGE_LABEL_GR" in yours WEB-INF/i18n/application*.xml files.

To translate the CMS application in Greek, you need to translate i18n files for each existing plugins and put these files into a WEB-INF/i18n/plugins/[pluginName] directory :


You can download the English translations on our svn :
For example :
Plugin core :
CMS :
Web :


Laurence Aumeunier
Ametys Expert

Offline

Board footer

Powered by FluxBB