We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 593c874 commit b8cf661Copy full SHA for b8cf661
djangoproject/settings/common.py
@@ -221,12 +221,10 @@
221
222
USE_I18N = True
223
224
-LOCALE_PATHS = [
225
- # List apps first so their translations take precedence.
226
- # This list should match LOCALE_DIRS in update-translations.sh.
227
- str(BASE_DIR.joinpath(path))
228
- for path in ("dashboard/locale/", "docs/locale/", "locale/")
229
-]
+# Django discovers locale directories in the dashboard and docs apps
+# on its own, but the main project locale/ directory needs to be
+# explicitly listed here.
+LOCALE_PATHS = [str(BASE_DIR.joinpath("locale/"))]
230
231
USE_TZ = False
232
0 commit comments