I\'ve been trying to implement localization for my asp .NET Core 1.0 RTM web app following microsofts documentation and I just can not get it to work. The problem I\'m havin
I experimented with i18n and I got my translations to work when supported cultures matched with the cultures in resource file names
var supportedCultures = new List{
new CultureInfo("en-US"),
new CultureInfo("sl-SI"),
new CultureInfo("de-DE"),
new CultureInfo("hr-HR")
};
Change your resource file names from
Resources/Views/ControllerName/ViewName.sl.resx
to specific language culture
Resources/Views/ControllerName/ViewName.sl-SI.resx