Added support for the ja_JP locale

This commit is contained in:
Leon Styhre 2024-07-20 13:35:37 +02:00
parent 01406c27c3
commit 335b3dd4ff
4 changed files with 2528 additions and 0 deletions

View file

@ -492,6 +492,7 @@ void GuiMenu::openUIOptions()
selectedApplicationLanguage == "en_GB");
applicationLanguage->add("ITALIANO", "it_IT", selectedApplicationLanguage == "it_IT");
applicationLanguage->add("SVENSKA", "sv_SE", selectedApplicationLanguage == "sv_SE");
applicationLanguage->add("日本語", "ja_JP", selectedApplicationLanguage == "ja_JP");
applicationLanguage->add("简体中文", "zh_CN", selectedApplicationLanguage == "zh_CN");
// If there are no objects returned, then there must be a manually modified entry in the
// configuration file. Simply set the application langauge to "automatic" in this case.

View file

@ -31,6 +31,7 @@ namespace Utils
const std::vector<std::pair<std::string, std::string>> sSupportedLocales {{{"en"}, {"US"}},
{{"en"}, {"GB"}},
{{"it"}, {"IT"}},
{{"ja"}, {"JP"}},
{{"sv"}, {"SE"}},
{{"zh"}, {"CN"}}};
// clang-format on

View file

@ -1,5 +1,6 @@
en_US
en_GB
it_IT
ja_JP
sv_SE
zh_CN

2525
locale/po/ja_JP.po Normal file

File diff suppressed because it is too large Load diff