Skip to content

Commit c42182b

Browse files
authored
Merge pull request #368 from GetStream/translation-docs-update
docs: Add clarification about TranslateModule import
2 parents 922f3dc + e79a035 commit c42182b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docusaurus/docs/Angular/concepts/translation.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ imports: [TranslateModule.forRoot(), StreamChatModule];
2424
export class AppModule {}
2525
```
2626

27+
:::important
28+
You should import the `TranslateModule.forRoot()` in a non-lazy loaded module (even if the chat application is displayed from a lazy loaded module).
29+
:::
30+
2731
### Set up the translations
2832

2933
Typically you will be doing it in your `AppComponent`:

0 commit comments

Comments
 (0)