Update docusaurus/docs/Flutter/guides/adding_localization.mdx

Co-authored-by: Gordon Hayes <funwithflutter@gmail.com>
This commit is contained in:
Salvatore Giordano
2021-07-28 17:40:44 +02:00
committed by GitHub
parent 18d49dd571
commit 00e3f58258
@@ -69,7 +69,7 @@ class MyApp extends StatelessWidget {
### Adding a new language
To add a new language, you need to create a new class extending `GlobalStreamChatLocalizations` and create a delegate for it adding it to the `delegates` array.
To add a new language, create a new class extending `GlobalStreamChatLocalizations` and create a delegate for it, adding it to the `delegates` array.
Checkout [this example](https://github.com/GetStream/stream-chat-flutter/blob/master/packages/stream_chat_localizations/example/lib/add_new_lang.dart) to see how to add a new language.