Use Japanese by default

This commit is contained in:
Kiril Kovachev 2024-10-14 17:31:54 +01:00
parent d1744e672a
commit 5a1e991350

View File

@ -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]