Skip to content

6. Translations

Uros Preloznik edited this page May 3, 2017 · 20 revisions

New language

To translate this project into new langauge follow this instructions. You will have to prepare pull request for committing translations to main repository.

  1. Original QWC Translations are still used (most of the strings), but file was split into separate files for each language. Located at - /client/site/js/lang/. Modify or add new file if needed.
  2. Check if your language exists in core Ext JS locale files /admin/languages/locale/. If it's is not, then copy one of the languages and translate it.
  3. Copy one language in /admin/languages/ to your language name (2 letter code) and translate all text.
  4. Copy your country flag image (16x16 PNG) to /admin/#dialog/img/flags and insert line into /admin/#dialog/css/flags.css
  5. Insert new language in /admin/languages/_lang.js.

Default language

TODO

Clone this wiki locally