Hi. I’m trying to set locale, based on the chosen in player save. I made this on start:
Locale locale = LocalizationSettings.AvailableLocales.Locales.FirstOrDefault(l => l.Formatter.ToString() == playerSave.language);
SetLocale(locale);
It works fine in editor, but not in webgl build. LocalizationSettings.AvailableLocales.Locales is empty on start.
What’s the proper way to set language, should I wait for some kind of initialisation before calling LocalizationSettings.AvailableLocales.Locales?