C# (CSharp) Serenity.Localization Namespace

Classes

Name Description
EntityLocalTexts
EnumLocalTextRegistration Contains initialization method for adding local text translations defined by Description attributes in enumeration classes.
FallbackLocalTextRegistry Adds key fallback to any ILocalTextRegistry implementation
JsonLocalTextRegistration Contains helper methods for registration of local texts in hierarchical/dictionary formatted JSON files.
NestedLocalTextRegistration Contains helper methods for registration of local texts in nested static classes. Nested static contains LocalText objects with actual translations as keys. This class locates them (with NestedLocalTextsAttribute at outermost class), determines keys by path from outermost to nested class name, replaces existing LocalText instance with a InitializedLocalText instance containing this generated key and initial translation, and registers this translation in ILocalTextRegistry provider.