-
-
Notifications
You must be signed in to change notification settings - Fork 39
Edit Working Translation
This feature is feature designed for developer who need to edit a particular translation on program interface. It opens "Edit Gui Language File Dialog" on a particular language directly. It works together with values "referenceTranslation" and "workingTranslation" specified in file config.py
It is a shortcut to open "Edit Gui Language File Dialog" on a particular language. If you select "Edit Language File", it takes you to a dropdown menu to select a language before you can open "Edit Gui Language File Dialog". It could be time-consuming if you need to edit a particular language file frequently. Using "Edit Working Translation" let you skip the step of selecting a language from dropdown menu before you can open "Edit Gui Language File Dialog" if you specify a working translation in file "config.py"
One of our developers is working a language file on traditional Chinese (zh_HANT). In config.py file, the following values are entered.
referenceTranslation = 'en_US'
workingTranslation = 'zh_HANT'
When "Edit Working Translation" is selected, it always opens "Edit Gui Language File Dialog" on traditional Chinese directly.
Specifying referenceTranslation as 'en_US' gives you original English translation as tooltips, which are displayed when you hover on items with mouse. This may help you to relate to the English translation.
From version 22.08, we added auto saving of "referenceTranslation" and "workingTranslation" values when you select a language in "Select Tooltip Translation" and "Edit language file" dialogs correspondingly.
You can find this option in Focus menu layout "Developer" section, if you have "developer" option set to "True" in file "config.py".