示例#1
0
        public void SetUpRequestCulture(HttpContext context)
        {
            var languageInfo = SelectRequestCulture(context);

            ApplyRequestCulture(languageInfo);
            context.AddCurrentLanguage(languageInfo);
            context.AddSupportedLanguages(_languageManager.SupportedLanguages);
        }