Ejemplo n.º 1
0
    private void checkForLocalizationChange(WorldDefinition currentWorld)
    {
        Localizer localizer = Service.Get <Localizer>();

        if (currentWorld != null && localizer.Language != currentWorld.Language)
        {
            localizer.ChangeLanguage(currentWorld.Language);
        }
    }