summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/getlangnames.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/getlangnames.py b/scripts/getlangnames.py
index 82c25dda5..a1cae80f2 100644
--- a/scripts/getlangnames.py
+++ b/scripts/getlangnames.py
@@ -1,8 +1,11 @@
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)