SiTranslatePipe documentation¶
name
translate
Translates keys by using the SiTranslateService . Within Element this pipe should be used instead of ngx-translates translate
pipe. Outside Element, this pipe should NOT be used.
Attributes and Methods¶
Name | Type | Default | Description |
---|---|---|---|
transform(...) ¶ | (key: string , params: any ) => string | Method which is called on any data passed to the pipe. Called by Angular, should not be called directly. Parameters |
Types Documentation¶
Function |
---|
Wrapper around an actual translation framework which is meant to be used internally by Element. Applications must not use this service. Use injectSiTranslateService to get an instance of the translation service. | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
|
Except where otherwise noted, content on this site is licensed under MIT License.