flutter / website

Flutter documentation web site
https://docs.flutter.dev
Other
2.8k stars 3.2k forks source link

iOS Localization: Missing step leads to app store entry only showing EN locale #10221

Open heslegend opened 6 months ago

heslegend commented 6 months ago

Page URL

https://docs.flutter.dev/ui/accessibility-and-internationalization/internationalization#localizing-for-ios-updating-the-ios-app-bundle

Page source

No response

Describe the problem

When following the docs for localization and releasing the iOS version to the apple app store, the app store entry ends up showing only the EN locale:

image

Expected fix

The docs have do be updated.

For the supported languages to be correctly displayed in the app store, users have to complete the following steps:

  1. Open the ios/Runnder.xcodeproj
  2. Select the Runner under Projects
  3. Select the Info Tab
  4. Add the supported languages under Localizations

This will create some empty .strings files and change the ios/Runner.xcodeproj/project.pbxproj files. It seems that app store relies on them when determining which languages are supported by the app.

Additional context

No response

I would like to fix this problem.

huycozy commented 6 months ago

Thanks for the report. Adding Apple document here as well: https://developer.apple.com/documentation/xcode/adding-support-for-languages-and-regions