This is documentation for
Stream Chat Angular SDK v5, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v6)
.
StreamI18nService
The StreamI18nService
can be used to customize the labels of the chat UI. Our translation guide covers this topic in detail.
Methods
setTranslation
setTranslation(lang?
, overrides?
): void
Registers the translation to the ngx-translate TranslateService.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
lang | string | 'en' | The language key to register the translation to |
overrides? | Object | undefined | An object which keys are translation keys, and the values are custom translations |
Returns
void
Defined in
projects/stream-chat-angular/src/lib/stream-i18n.service.ts:19
- I'm working with the Stream Chat Angular SDK and would like to ask questions about this documentation page: https://getstream.io/chat/docs/sdk/angular/v5/services/StreamI18nService.md
- View as markdown
- Open in ChatGPT
- Open in Claude
On this page: