What’s the correct way to set up Django translation?

Add LOCALE_PATHS to settings.py and set it as below: import os BASE_DIR = os.path.dirname(os.path.dirname(__file__)) LOCALE_PATHS = ( os.path.join(BASE_DIR, ‘locale’), ) Note that LOCALE_PATHS must be a tuple (look at the comma at the end of the path). Now based on LOCALE_PATHS, the locale folder should be in the root of your project. And be sure … Read more