I am really struggling with this language issue.
I went to
System->Administration->Language Support and moved Turkish (Türkçe) to the top. Then I clicked "Apply System-wide" and restarted.
However, after restarting,
echo $LANG reported
en_US.utf8, so I logged out and back in - and now it reports
Now here's the problem:
- I have a file 'xxx.po' in
I run the following Python code:
import gettext gettext.bindtextdomain("xxx","/usr/share/locale") gettext.textdomain("xxx") tr = gettext.translation("xxx", "/usr/share/locale", ["tr_CY"], fallback=True) print tr.gettext("sample")
Although 'sample' should be translated, it isn't.
What am I doing wrong?