force zh-cn on neodb.social for now

This commit is contained in:
Your Name 2024-04-03 23:20:35 -04:00 committed by Henri Dickson
parent fca9b6155d
commit 35e903e6d6

View file

@ -390,9 +390,11 @@ MARKDOWNX_MARKDOWNIFY_FUNCTION = "journal.models.render_md"
LANGUAGE_CODE = env("NEODB_LANGUAGE", default="zh-hans") # type: ignore
LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")]
LANGUAGES = (
# ("en", _("English")),
("en", _("English")),
("zh-hans", _("Simplified Chinese")),
)
if SITE_DOMAIN == "neodb.social":
LANGUAGES = (("zh-hans", _("Simplified Chinese")),)
TIME_ZONE = env("NEODB_TIMEZONE", default="Asia/Shanghai") # type: ignore