Skip to content

Interface language files

Oliver Tseng edited this page Feb 21, 2021 · 9 revisions

Notes

Language interface files are located in the lang folder. They are in the pattern language_*.py.

UBA currently uses IBM Watson for translation services.

How to add a new language interface file

  1. Run: python -m util.LanguageUtil createNewLanguageFile <2 letter language code>

Example to create Greek language file:

python -m util.LanguageUtil createNewLanguageFile "el"

  1. Modify Languages.py

Add entry to code

Example: "Greek Νέα Ελληνικά": "el",

How to add a new text string into all language interface files

Clone this wiki locally