I18N.DotNet v1.3.1
|
Utility class for convenient access to localization functions. More...
Static Public Member Functions | |
static string | Localize (PlainString text) |
Localizes a string using the global localizer. More... | |
static string | Localize (FormattableString frmtText) |
Localizes an interpolated string using the global localizer. More... | |
static IEnumerable< string > | Localize (IEnumerable< string > texts) |
Localizes multiple strings using the global localizer. More... | |
static string | LocalizeFormat (string format, params object[] args) |
Localizes and then formats a string using the global localizer. More... | |
static ILocalizer | Context (string contextId) |
Gets a context in the global localizer. More... | |
static ILocalizer | Context (IEnumerable< string > splitContextIds) |
Gets a context in the global localizer. More... | |
Properties | |
static AutoLoadLocalizer | Localizer = new AutoLoadLocalizer() [get] |
Global localizer. More... | |
Utility class for convenient access to localization functions.
|
static |
Gets a context in the global localizer.
splitContextIds | Chain of context identifiers in split form. |
|
static |
Gets a context in the global localizer.
contextId | Identifier of the context. |
|
static |
Localizes an interpolated string using the global localizer.
frmtText | Base-language formattable string. |
|
static |
Localizes multiple strings using the global localizer.
texts | Base-language strings. |
|
static |
Localizes a string using the global localizer.
text | Base-language string. |
|
static |
Localizes and then formats a string using the global localizer.
format | Base-language format string. |
args | Arguments for the format string. |
|
staticget |
Global localizer.