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, but file was split into files for each language. Located at - /client/site/js/lang/
  2. EQWC does not use file above, but uses custom build, which contains only languages that are translated for EQWC. Meaning you have to overwrite this custom build to add your language to /client/site/js/translations_eqwc.js
  3. 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.
  4. Copy one language in /admin/languages/ to your language name and translate all text.
  5. Copy your country flag image (16x16 PNG) to /admin/#dialog/img/flags and insert line into /admin/#dialog/css/flags.css
  6. Insert new language in /admin/languages/_lang.js.
Clone this wiki locally