Menu

Home

Dmitry KX

How to add a new translation (since version 0.6.0):

  1. Request a new translation at https://www.transifex.com/projects/p/qss-editor/
  2. Translate QssEditor there
  3. Download the resulting .ts file (click on the resource, and select "Download for use") and save it as CODE.ts, where CODE is the two-characters ISO code of your language (see https://www.loc.gov/standards/iso639-2/php/code_list.php for codes). For example, save as ru.ts for Russian language
  4. Convert the TS file to QM file with Qt Linguist. For example, convert ru.ts to ru.qm for Russian language
  5. Download a 16x16 flag icon for your language and save it as CODE.png. For example, save as ru.png for Russian language. Flags could be found here: http://www.icondrawer.com/flag-icons.php
  6. Put CODE.qm and CODE.png into the directory with translations (/usr/share/qsseditor/translations/ under Linux, and installation directory\translations\ under Windows)
  7. Add a new configuration line into the configuration file translations.conf (/usr/share/qsseditor/translations/translations.conf under Linux, and installation directory\translations\translations.conf under Windows) like that:
NATIVE=CODE

where NATIVE is a native language name, and CODE is a language code as above. For example, for Russian it could be

Русский=ru

or for German:

Deutsch=de

or for Simplified Chinese:

简体中文=zh_CN

NATIVE will be displayed in the Options window as a language name. Be sure that you save translations.conf in UTF-8 encoding.


MongoDB Logo MongoDB