Contributing to Translations

Contents

Contributing to Translations

We would greatly appreciate help with translating our Admin Console to more languages. Here is a guide on how to contribute:

First, you need to checkout the project from GitHub. Then, create language files for the specific language you can provide a translation for. After the translation is done, a pull request should be sent to Enonic, so we can include the file in the next distribution.

Translating files

To provide a translation, please start with the English original phrase files and make a copy of each of them, in the same folder, but extend the main filename with _<language-code>. If, for instance, you want to make a translation to Spanish, the copied files should be called common_es.properties or phrases_es.properties. In the copied files, you may now translate all the English text into your preferred language. When done, please submit a pull request on the project, with the translations.

File locations

XP is split in multiple projects. One basic runtime, some libs and several apps. All code is found on GitHub:

Admin Home App

GitHub URL

Checkout command

git clone [email protected]:enonic/app-admin-home.git

Original file in English

/src/main/resources/i18n/phrases.properties

Admin UI Library

GitHub URL

Checkout command

git clone [email protected]om:enonic/lib-admin-ui.git

Original file in English

/src/main/resources/admin/i18n/common.properties

Applications App

GitHub URL

Checkout command

git clone [email protected]:enonic/app-applications.git

Original file in English

/src/main/resources/i18n/phrases.properties

Content Studio

GitHub URL

Checkout command

git clone [email protected]:enonic/app-contentstudio.git

Original file in English

/src/main/resources/i18n/phrases.properties

Standard ID Provider

GitHub URL

Checkout command

git clone [email protected]:enonic/app-standardidprovider.git

Original file in English

/src/main/resources/i18n/phrases.properties

Users App

GitHub URL

Checkout command

git clone [email protected]:enonic/app-users.git

Original file in English

/src/main/resources/i18n/phrases.properties

XP Runtime

GitHub URL

Checkout command

git clone [email protected]:enonic/xp.git

Original file in English

/modules/app/app-system/src/main/resources/i18n/phrases.properties

Contents