ResourceManagerWithCultureStringLocalizer class and WithCulture interface member marked Obsolete and will be removed #346
Labels
3.0.0
Announcements related to ASP.NET Core 3.0
Announcement
Breaking change
Documented
The breaking change has been published to the .NET Core docs
Migrated
Milestone
The ResourceManagerWithCultureStringLocalizer class and WithCulture interface member are often sources of confusion for users of Localization, especially if they want to create their own
IStringLocalizer
implementation. These items give the user the impression that we expect anIStringLocalizer
instance to be "per-language, per-resource", when actually they should only be "per-resource", with the language searched for determined by theCultureInfo.CurrentUICulture
at execution time. To remove this source of confusion and to avoid APIs which we don't want users to use we will be obsoleting these in 3.0.0-preview3, and they will be removed in a future release (4.0 or above).For context, see here.
See dotnet/aspnetcore#7756 for discussion.
This announcement has been migrated to: dotnet/docs#14753
The text was updated successfully, but these errors were encountered: