using UnityEngine.Localization.Settings;
public Locale locale;
public class ChangeLanguage : MonoBehaviour
{
public void ChangeLocale()
{
LocalizationSettings.SelectedLocale = locale;
} // It works when you click the "change language" button.
}
but It doesn't work at runtime.
And also, I can't change the Actor's name.
How can I make it?
Ah, I'm sorry, I have solved this problem. I forgot I was using an old version of the DS.
So I updated the Localization package to DS_LocalizationPackageSupport_2022-11-11, and it started working!