* Use char instead of char[] for string.Split Use the newer overload for string.Split() that accepts a char instead of creating a char array. * Remove redundant bounds check Remove redundant bounds check for count of exactly 1 as that has already been checked to be true by the previous check. |
||
|---|---|---|
| .. | ||
| ref | ||
| sample | ||
| src | ||
| test | ||
| testassets | ||
| Localization.slnf | ||
| README.md | ||
README.md
Localization
Localization abstractions and implementations for ASP.NET Core applications.
Localization Samples
Here are a few samples that demonstrate different localization features including: localized views, localized strings in data annotations, creating custom localization resources ... etc.
- Localization.StarterWeb - comprehensive localization sample demonstrates almost all of the localization features
- Localization.EntityFramework - localization sample that uses an EntityFramework based localization provider for resources
- Localization.CustomResourceManager - localization sample that uses a custom
ResourceManagerStringLocalizer
Localization Providers
Community projects adapt RequestCultureProvider for determining the culture information of an HttpRequest.
- My.AspNetCore.Localization.Json - determines the culture information for a request from a JSON file.
- My.AspNetCore.Localization.Session - determines the culture information for a request via values in the session state.
Localization Resources
Community projects adapt IStringLocalizer for fetching the localiztion resources.
- My.Extensions.Localization.Json - fetches the localization resources from JSON file(s).
- OrchardCore.Localization.PortableObject - fetches the localization resources from PO file(s).