Use Japanese by default
This commit is contained in:
parent
d1744e672a
commit
5a1e991350
@ -98,6 +98,6 @@ LANGUAGES = {
|
|||||||
|
|
||||||
def localize(text_id: str, language: dict[str, str] = None) -> str:
|
def localize(text_id: str, language: dict[str, str] = None) -> str:
|
||||||
if language is None:
|
if language is None:
|
||||||
preference = session.get("language", "en")
|
preference = session.get("language", "ja")
|
||||||
language = LANGUAGES.get(preference)
|
language = LANGUAGES.get(preference)
|
||||||
return language[text_id]
|
return language[text_id]
|
||||||
|
Loading…
Reference in New Issue
Block a user