Translator
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
formatter: * The underlying ICU MessageFormatter util. |
|
public |
translations: {} A map of translation keys to their translated values. |
Method Summary
Public Methods | ||
public |
addTranslations(translations: undefined) |
|
public |
formatterTypeHandlers(): {"plural": *, "select": *} An extensible entrypoint for extenders to register type handlers for translations. |
|
public |
preprocessParameters(parameters: undefined): * A temporary system to preprocess parameters. |
|
public |
|
|
public |
|
Public Constructors
public constructor() source
Public Members
Public Methods
public addTranslations(translations: undefined) source
Params:
Name | Type | Attribute | Description |
translations | undefined |
public formatterTypeHandlers(): {"plural": *, "select": *} source
An extensible entrypoint for extenders to register type handlers for translations.
Return:
{"plural": *, "select": *} |