How to add a new translation (since version 0.6.0):
- Request a new translation at https://www.transifex.com/projects/p/qss-editor/
- Translate QssEditor there
- 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
- Convert the TS file to QM file with Qt Linguist. For example, convert ru.ts to ru.qm for Russian language
- 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
- Put CODE.qm and CODE.png into the directory with translations (/usr/share/qsseditor/translations/ under Linux, and installation directory\translations\ under Windows)
- 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:
where NATIVE is a native language name, and CODE is a language code as above. For example, for Russian it could be
or for German:
or for Simplified Chinese:
NATIVE will be displayed in the Options window as a language name. Be sure that you save translations.conf in UTF-8 encoding.