问题
Is there any know issue about using Django CMS and Django Rosetta together. I cant get the "static" template messages translated although it appears correctly translated in the Rosetta interface.
All the dynamic content is correctly translated. Only the one I´ve set up around the `{% trans 'blabla' %} does not work.
回答1:
Gotcha!
Just add in settings.py
LOCALE_PATHS = (BASE_DIR + "/locale/",)
It worked for me.
来源:https://stackoverflow.com/questions/24439031/django-cms-and-rosetta-cant-get-template-messages-translated