Re: Help with getText lib
[email protected] (Martin v. Löwis)
| Newsgroups | gmane.comp.python.internationalization |
|---|---|
| Message-ID | <[email protected]> |
Michel Martin <[email protected]> writes: > I have difficulty using getText. In fact, I'm able to create my .po > files and my .mo files. But I'm not able to read/retrieve them using > either "gettext.install(...)" or "gettext.find(...)". Did you set the LANG= environment variable? If not, you should explicitly specify the target language, e.g. by defining def _(msg): return gettext.translation('dev',r'c:\foo\bar','en').ugettext(msg) HTH, Martin