Hey! How can I change the translation (.po) in misago-docker?
Hey! How can I change the translation (.po) in misago-docker?
You can create custom directory within misagodocker
named extra_locale
and put your language directory containing the mo
and po files
in it.
Then you can create settings_override.py
file in that directory with those contents:
import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
LOCALE_PATHS = [
os.path.join(BASE_DIR, "extra_locale"),
]
Then reload the site with ./appctl rebuild
Thank you.