mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-12 00:11:08 +01:00
2355c2af62
Currently in `MenuMainBarView.axaml` we list all available languages and hardcode the language name with the language key. It's a bit bad beause if we want to add a new language, we have to edit the `csproj` and the `axaml` with the translated language name and the language code. I've put all translations in their respective locale files, add code into `MainMenuBarView` constructor to generate the menu automatically. Now we just have to edit the `csproj` if we want to add a new language. |
||
---|---|---|
.. | ||
de_DE.json | ||
el_GR.json | ||
en_US.json | ||
es_ES.json | ||
fr_FR.json | ||
it_IT.json | ||
ja_JP.json | ||
ko_KR.json | ||
pl_PL.json | ||
pt_BR.json | ||
ru_RU.json | ||
tr_TR.json | ||
uk_UA.json | ||
zh_CN.json | ||
zh_TW.json |