Localization scripts are not loaded

Posted: 16 May 2021 22:34
by juan.delcastillo

We've coded our game on English and we want to translate to Spanish. I generated the localization scripts and send two packages, one for each teammate, so they could translate it. The default locale is Spanish but the game won't use the localized scripts.

Changing the in-game language from English to Spanish does the job but our game is supposed to be only in Spanish, so there isn't any language option in the settings menu of our VN.


Re: Localization scripts are not loaded

Posted: 17 May 2021 00:54
by Elringus

You can set default language in localization config.


Re: Localization scripts are not loaded

Posted: 17 May 2021 08:45
by juan.delcastillo

If you mean the default locale on Naninovel > Localization, the default language is on Spanish and yet it won't load them


Re: Localization scripts are not loaded

Posted: 17 May 2021 10:36
by Elringus

Try on another computer where the game wasn't run before (or clear the settings cache).


Re: Localization scripts are not loaded

Posted: 17 May 2021 11:28
by juan.delcastillo

I did clear the GI cache, is that correct? Is there any other cache?

In any case, I will export the entire project as a package to a new project and see if it works
EDIT: Nope, doesn't work. I'll run the project on another computer


Re: Localization scripts are not loaded

Posted: 17 May 2021 14:02
by Elringus

Do I understand correctly that the issue is that the language set as default in Naninovel config is not being selected by default when you start the game for the first time?


Re: Localization scripts are not loaded

Posted: 17 May 2021 14:19
by juan.delcastillo

No, the language is selected by default in the Language option. However, the scripts are not loaded.

What I meant on the first post is that their loaded when selecting English and then Spanish


Re: Localization scripts are not loaded

Posted: 17 May 2021 14:52
by Elringus

I see. Please register your copy and PM me in Discord with a repro project (https://naninovel.com/support/#reproduction-project) for investigation.


Re: Localization scripts are not loaded

Posted: 17 May 2021 15:16
by juan.delcastillo

Ok, it simply turned out that the scene build order was wrong. The translation "bug" and other bugs were caused by that. My bad