summaryrefslogtreecommitdiffstats
path: root/scripts/getlangnames.py
blob: a1cae80f2e9338f39f5f9a8a694f09e4aec53d00 (plain)
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)