Skip to content

Update the language files

schnoog edited this page Dec 29, 2017 · 1 revision

Update your translation

Gettext, which is used for the translation, extracts each translation out of compiled mo files.

Those files are locates within app/locale/

To update (or generate a new) a translation file, the PO source files for the compiles language files need to be edited.

I suggest the usage of the tool POEdit , which is open source and free.

A basic PO can be found under app/locale/sample.po

Don't forget to adjust the language in

"Language: en_US\n" To integrate new translation variables, run the "Compile all templates" tool which is located in the Sys-Pages tools.

With POEdit and the prepeared PO file, you should be able to update from resources.

Remark: Any update in PO or MO files may require an apache restart.

Clone this wiki locally