support for korean

This commit is contained in:
Sacha Arbonel
2021-08-02 16:50:57 -04:00
parent 8ca7dab6da
commit 95e3467ac4
2 changed files with 365 additions and 0 deletions
@@ -13,6 +13,8 @@ part 'stream_chat_localizations_it.dart';
part 'stream_chat_localizations_ja.dart';
part 'stream_chat_localizations_ko.dart';
part 'stream_chat_localizations_hi.dart';
/// The set of supported languages, as language code strings.
@@ -30,6 +32,7 @@ const kStreamChatSupportedLanguages = {
'it',
'es',
'ja',
'ko'
};
/// Creates a [GlobalStreamChatLocalizations] instance for the given `locale`.
@@ -64,6 +67,8 @@ GlobalStreamChatLocalizations? getStreamChatTranslation(Locale locale) {
return const StreamChatLocalizationsEs();
case 'ja':
return const StreamChatLocalizationsJa();
case 'ko':
return const StreamChatLocalizationsKo();
}
}