We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e80d605 commit 8934ad2Copy full SHA for 8934ad2
1 file changed
cms/locale/locale.py
@@ -285,7 +285,7 @@ def get_translations() -> dict[str, Translation]:
285
try:
286
locale_pkg = importlib.resources.files("cms.locale")
287
for lang_dir in locale_pkg.iterdir():
288
- if lang_dir.is_dir():
+ if lang_dir.is_dir() and not lang_dir.name.startswith('_'):
289
lang_code = lang_dir.name
290
291
mofile_path = lang_dir / "LC_MESSAGES" / "cms.mo"
0 commit comments