[Answer]-Why are some strings in Django .po translated while others not?

1👍

I finally got it working after hours of trial and error.
I change my LOCALE_PATHS from:

LOCALE_PATHS = ("/path/to/locale/");

to:

LOCALE_PATHS = ("", "/path/to/locale/");

And it works right away. Maybe it is a bug with Django 1.5 (which I am using), or maybe I configured something wrong.

Anyway, hope this helps someone, and save you hours of time.

=========EDIT===========

As pointed out by @J.C.Leitão, you have to add comma to make the variable a tuple.
It was a rookie mistake of mine. But I think Django could be more friendly to developers if a single string is recognized, too.

Leave a comment