summaryrefslogtreecommitdiffstats
path: root/scripts/getlangnames.py
blob: df5992569c86405fa41aed9f429b1f9d8a317727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import sys
sys.path.extend(["..", "../iconvmodule"])
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)