Skip to content

Commit a1106d1

Browse files
committed
fix: Fix indonesian language support
Refs #763
1 parent 785133b commit a1106d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modeltranslation/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _build_localized_verbose_name(verbose_name: Any, lang: str) -> str:
8080

8181

8282
def _join_css_class(bits: list[str], offset: int) -> str:
83-
if "-".join(bits[-offset:]) in settings.AVAILABLE_LANGUAGES + ["en-us"]:
83+
if "-".join(bits[-offset:]) in settings.AVAILABLE_LANGUAGES + ["en-us", "ind"]:
8484
return "%s-%s" % ("_".join(bits[: len(bits) - offset]), "_".join(bits[-offset:]))
8585
return ""
8686

0 commit comments

Comments
 (0)