added support for Portuguese

This commit is contained in:
Santiago Garcia
2022-01-12 11:46:51 -03:00
parent 512d68af63
commit 270378a7c0
8 changed files with 404 additions and 10 deletions
@@ -4,10 +4,14 @@
<dict>
<key>CFBundleLocalizations</key>
<array>
<string>en</string>
<string>it</string>
<string>fr</string>
<string>hi</string>
<string>en</string>
<string>hi</string>
<string>fr</string>
<string>it</string>
<string>es</string>
<string>ja</string>
<string>ko</string>
<string>pt</string>
</array>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
@@ -75,6 +75,7 @@ class MyApp extends StatelessWidget {
Locale('es'),
Locale('ja'),
Locale('ko'),
Locale('pt'),
],
// Add GlobalStreamChatLocalizations.delegates
localizationsDelegates: GlobalStreamChatLocalizations.delegates,
@@ -100,6 +100,7 @@ class MyApp extends StatelessWidget {
Locale('es'),
Locale('ja'),
Locale('ko'),
Locale('pt'),
],
// Add overridden "CustomStreamChatLocalizationsEn.delegate" along with
// "GlobalStreamChatLocalizations.delegates"