Beispiel #1
0
        private async Task ChangeLanguage()
        {
            foreach (FavModel fav in _favList)
            {
                if (!_accessor.Lang.Contains(fav.lang, StringComparison.InvariantCultureIgnoreCase))
                {
                    fav.cr825_message = await _translateService.TranslateToLanguage(fav.cr825_message, _accessor.Lang);

                    fav.lang = _accessor.Lang;
                }
            }
        }