From 5a1e9913502b0b9f26516b695c8f8cf3d3901960 Mon Sep 17 00:00:00 2001 From: Kiril Kovachev Date: Mon, 14 Oct 2024 17:31:54 +0100 Subject: [PATCH] Use Japanese by default --- kanken_online/lang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kanken_online/lang.py b/kanken_online/lang.py index 209a43d..01f5a72 100644 --- a/kanken_online/lang.py +++ b/kanken_online/lang.py @@ -98,6 +98,6 @@ LANGUAGES = { def localize(text_id: str, language: dict[str, str] = None) -> str: if language is None: - preference = session.get("language", "en") + preference = session.get("language", "ja") language = LANGUAGES.get(preference) return language[text_id]