Switching between languages doesn't update the dropdown menus
Posted: 27 Jul 2021 08:50
by Excadrix
Hello,
I face this strange issue.
I use the defaultUI prefabs. SettingsUI
I have two languages English and Greek with default language English. I start the game with English everything works fine.
Switching from English to Greek works ok and changes all the text in the dropdown menus (like screen mode and graphics)
but when I switch back from Greek to English the dropdown menus doesn't change back to English. (everything else change back to English except the content inside the dropdown menus)
Any ideas what might be the issue?
thank you in advance
Re: Switching between languages doesn't update the dropdown menus
Posted: 27 Jul 2021 09:28
by Elringus
Hi, Check the demo project on GitHub, it has 2 languages and switching is working fine, afaik. Make sure to use Naninovel v1.16 or later with the demo project.
Re: Switching between languages doesn't update the dropdown menus
Posted: 27 Jul 2021 10:04
by Excadrix
I found the issue if it's an issue.
I used a different folder inside Resources from another path in assets to have my Texts for source locale. Although it worked fine on load it had problem with switching.
in Details
I had my Text folder inside Assets/MyGame/Resources/Texts
i moved him on Assets/Resources/Naninovel/Text
and worked. Is it a bug? or did I missed something in configuration? I thought the Text folder can be anywhere inside Resources and you just select it with Localization Tool when you add a new language.
Re: Switching between languages doesn't update the dropdown menus
Posted: 27 Jul 2021 10:41
by Elringus
Naninovel-related resources should be in Naninovel
folder. That's by design.