[Fixed]-Django translation using rosetta not reflecting changes

1👍

My problem was:

My django.po file was not filled with the correct language code:

"Language: \n"

so I changed to

"Language: pt_BR\n"

after re-compiling messages (python manage.py compilemessages) everything worked nicely.

Also, I found out the LOCALE_PATHS setting needed a slash after the path like this:

LOCALE_PATHS = ( 
    os.path.join(PROJECT_ROOT, "locale/"),
)

Leave a comment