public void SetLanguage(Enumerators.Language language, bool forceUpdate = false)
        {
            if (language == CurrentLanguage && !forceUpdate)
            {
                return;
            }

            CurrentLanguage = language;
            _dataManager.CachedUserLocalData.AppLanguage = language;

            LanguageWasChangedEvent?.Invoke(CurrentLanguage);
        }
        public void SetLanguage(Enumerators.Language language, bool forceUpdate = false)
        {
            if (language == CurrentLanguage && !forceUpdate)
            {
                return;
            }

            string languageCode = language.ToString().ToLower();

            I2.Loc.LocalizationManager.SetLanguageAndCode(I2.Loc.LocalizationManager.GetLanguageFromCode(languageCode), languageCode);

            _currentLanguage = language;
            _dataManager.UserSave.AppLanguage = language;

            LanguageWasChangedEvent?.Invoke(_currentLanguage);
        }