mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 16:44:46 +01:00

Read ui/i18n/README.md for information about how to add new languages. requested here: #319
591 B
591 B
Adding a new translation:
- mkdir
locales/<YOUR LOCALE>/
(echo $LANG) - add the path to opensnitch_i18n.pro:
TRANSLATIONS += locales/es_ES/opensnitch-es_ES.ts \
locales/<YOUR LOCALE>/opensnitch-<YOUR LOCALE>.ts
- make
Updating translations:
- update translations definitions:
- pylupdate5 opensnitch_i18n.pro
- translate a language:
- linguist locales/es_ES/opensnitch-es_ES.ts
- create .qm file:
- lrelease locales/es_ES/opensnitch-es_ES.ts -qm locales/es_ES/es_ES.qm
or:
- make
- linguist locales/es_ES/opensnitch-es_ES.ts
- make