Module Language
[hide private]
[frames] | no frames]

Module Language

source code

Functions [hide private]
 
getAvailableLanguages() source code
 
dummyTranslator(string) source code
 
translate(m) source code
 
_(string) source code
Variables [hide private]
  trFile = os.path.join(Version.dataPath(), "translations", "%s....
  catalog = gettext.GNUTranslations(open(trFile, "rb"))
  language = ''
  langOptions = {'': 'English', 'Brazilian portuguese': 'Brazili...
  lang = 'Swedish'
Variables Details [hide private]

trFile

Value:
os.path.join(Version.dataPath(), "translations", "%s.mo" % language.lo\
wer().replace(" ", "_"))

langOptions

Value:
{'': 'English',
 'Brazilian portuguese': 'Brazilian portuguese',
 'French': 'French',
 'Galician': 'Galician',
 'German': 'German',
 'Hebrew': 'Hebrew',
 'Italian': 'Italian',
 'Polish': 'Polish',
...