-
-
Notifications
You must be signed in to change notification settings - Fork 39
Translate program interface
From version 9.5 onwards, UniqueBible.app supports translation of program interface into a language of your own choice. We use intergrated Google Translate. Therefore, we supports translation of interface into 104 languages as Google Translate supports.
To translate the program interface. You need to install a python package called 'googletrans'. Run in terminal:
pip3 install googletrans
From menu bar, select "Configure my Language".
Select your favourite language from the dialog box.
From menu bar, select "Translate Program Interface my Language".
A dialog box comes up when the translation is finished. You then need a restart of the application to apply the changes.
You can easlity toogle the translation between the default English one and your language.
You can use a text editor to edit the values of dictionary "translation" located in file "myTranslation.py", to improve or shape the translation as you like.
In the following example, we edited the value of "menu1_setChineseFont":
Don't worry. New items, if available, will be automatically translated with Google Translation and added when the application starts. If Google Translation is not accessible on your device due to internet connection or other issues, default English translation are used for missing items.