1 2 3 4 5 6 7 8 9 10 11 12 13 14
import sys sys.path.append("..") from rhpl.translate import _ import rhpl.translate import language rhpl.translate.cat.setunicode(1) langs = language.InstallTimeLanguage() for lang in langs.available(): langs.setRuntimeLanguage(lang) print lang, _(lang)