We developed an app using Flutter and Apple refused it because the app is in Brazilian Portuguese language but the permission dialogs like use location permission or notifications permissions are in English.
We tried installing the flutter_localizations package and changing the info.plist. These are the changes we made:
Widget build(BuildContext context) {
return new MaterialApp(
title: 'My App',
theme: new ThemeData(
primarySwatch: Colors.blue,
),
home: AppStateContainer.of(context).page,
localizationsDelegates: [
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
],
supportedLocales: [Locale('pt', 'BR'),],
);
}
On info.plist:
<key>CFBundleLocalizations</key>
<array>
<string>pt_BR</string>
</array>
None of these steps worked. On iOS the permission dialogs are still in English. The iOS device that we are testing is in Portuguese and the region is Brazil.