I\'ve encountered a strange problem when translating strings (in the admin) using django\'s gettext
: Locally running the dev server all translations are display
I had a similar problem and apart from what Tomasz Zielinski pointed out I had to make the following changes:
in settings.py
LOCALE_PATHS = (
"/path/to/your/project/locale",
)
Remember the trailing slash and make sure that the directory structure looks something like:
project
your_app
your_other_app
locale
en_US
LC_MESSAGES
sv_SE
LC_MESSAGES
A few possibilities:
fuzzy
ugettext
instead of ugettext_lazy