[Answer]-Should changes of translations in django rosetta propagate automatically to frontend?

1๐Ÿ‘

โœ…

as far as i have understood you have to set up your server with wsgi (e.g. Apache mod_wsgi) to use this feature.

ROSETTA_WSGI_AUTO_RELOAD and ROSETTA_UWSGI_AUTO_RELOAD: When running WSGI daemon mode, using mod_wsgi 2.0c5 or later, this setting controls whether the contents of the gettext catalog files should be automatically reloaded by the WSGI processes each time they are modified. For performance reasons, this setting should be disabled in production environments. Default to False.

๐Ÿ‘คwelworx

0๐Ÿ‘

You just need to add ROSETTA_WSGI_AUTO_RELOAD = True and ROSETTA_UWSGI_AUTO_RELOAD = True in your settings.py file.
If you have multiple settings.py file then have add these lines for all your settings file.
Example:

ROSETTA_WSGI_AUTO_RELOAD = True
ROSETTA_UWSGI_AUTO_RELOAD = True
๐Ÿ‘คSubhransu Das

Leave a comment