blob: 186ec4dfdc8c428d3ae06bd52bdb3267730c7ff1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import sys
sys.path.append("..")
from rhpl.translate import _
import rhpl.translate
import language
rhpl.translate.cat.setunicode(1)
langs = language.Language()
names = {}
for k in langs.localeInfo.keys():
langs.setRuntimeLanguage(k)
names[langs.localeInfo[k][0]] = _(langs.localeInfo[k][0])
nameList = names.keys()
nameList.sort()
for k in nameList:
print "%s\t%s" % (k, names[k])
|