feat: support for japanese
This commit is contained in:
@@ -11,6 +11,8 @@ part 'stream_chat_localizations_fr.dart';
|
||||
|
||||
part 'stream_chat_localizations_it.dart';
|
||||
|
||||
part 'stream_chat_localizations_ja.dart';
|
||||
|
||||
part 'stream_chat_localizations_hi.dart';
|
||||
|
||||
/// The set of supported languages, as language code strings.
|
||||
@@ -27,6 +29,7 @@ const kStreamChatSupportedLanguages = {
|
||||
'fr',
|
||||
'it',
|
||||
'es',
|
||||
'ja',
|
||||
};
|
||||
|
||||
/// Creates a [GlobalStreamChatLocalizations] instance for the given `locale`.
|
||||
@@ -59,6 +62,8 @@ GlobalStreamChatLocalizations? getStreamChatTranslation(Locale locale) {
|
||||
return const StreamChatLocalizationsIt();
|
||||
case 'es':
|
||||
return const StreamChatLocalizationsEs();
|
||||
case 'ja':
|
||||
return const StreamChatLocalizationsJa();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user