namespace: Serenity.Localization assembly: Serenity.Net.Core
Adds key fallback to any ILocalTextSource implementation
public class FallbackLocalTextSource : ILocalTextRegistry
name | description |
---|---|
FallbackLocalTextSource(…) | Initializes a new instance of the FallbackLocalTextSource class. |
Add(…) | Adds a local text entry to the registry |
TryGet(…) | Returns localized representation which corresponds to the local text key or the fallback if none found in the registry. |
static BreakUpString(…) | Break up string without spaces (e.g. LastDirectoryUpdate) into a normal string (e.g. 'Last Directory Update') |
static TryGetKeyFallback(…) | Get a fallback of the local text key |
- interface ILocalTextRegistry
- Source: FallbackLocalTextRegistry.cs