Files
stream-chat-flutter/packages/stream_chat_localizations/example
Sahil Kumar f14c00a6ac chore(repo): bump min flutter SDK to 3.13.
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2023-08-18 15:46:48 +05:30
..
2023-01-25 14:39:37 +01:00
2022-03-21 15:36:08 +01:00
2023-07-18 16:35:35 +05:30
2021-07-23 16:55:46 +05:30
2021-07-23 16:55:46 +05:30

Stream Chat Persistence Example

Please see lib/ for example code.

Setting a language

The application language can be changed through system preferences or programmatically.

System Preferences

The application locale can be changed by changing the language for your device or emulator within the device's system preferences.

iOS change language

Android change language

Note that the language needs to be supported in your application to work.

Programmatically

You can also set the locale programmatically in your Flutter application without changing the device's language.

return MaterialApp(
 ...
 locale: const Locale('fr'),
 ...
);

There are many ways that this can be set for additional control. For information and examples, see this Stack Overflow post.