How to contribute¶
Contributing to the code¶
Please read the contribution guidelines
Contribute to the translation¶
Translate the documentation¶
You can translate the documentation by creating/modifying the markdown files in docs/doc in the website repository.
Translate the software¶
QualCoder supports multilingual functionality using two types of translation files:
- Gettext files (.po or .mo), which contain the software translation;
- QT language files (.ts or .qm) corresponding to the user interface.
To translate:
- Create a language file (if one does not already exist) using this command:
python rebuild_lang.py --create --lang LANGUAGE_CODEPlease note that the names of your language files must comply with the ISO 639-1 format. - If a language file already exists, you can update the translations using
python rebuild_lang.py --update --lang LANGUAGE_CODE. - You can edit the translations of the .po and .ts files in the src/i18n folder using the Poedit software.
- Once the work is complete, compile to machine format using this command:
python rebuild_lang.py --compile --lang LANGUAGE_CODE.