The Flutter i18n information notes that iOS apps ought to outline supported locales in an Data.plist
file. The information then proceeds to provide directions that, so far as I perceive, apply to the Xcode GUI. Nonetheless, I wouldn’t have Xcode – or perhaps a mac – and am planning on utilizing GitHub actions to supply iOS builds. How can I carry out the documented actions manually?
Sometimes, iOS functions outline key utility metadata, together with supported locales, in an Data.plist file that’s constructed into the applying bundle. To configure the locales supported by your app, use the next directions:
- Open your venture’s ios/Runner.xcworkspace Xcode file.
- Within the Venture Navigator, open the Data.plist file beneath the Runner venture’s Runner folder.
- Choose the Data Property Record merchandise. Then choose Add Merchandise from the Editor menu, and choose Localizations from the pop-up menu.
- Choose and broaden the newly-created Localizations merchandise. For every locale your utility helps, add a brand new merchandise and choose the locale you want to add from the pop-up menu within the Worth discipline. This record needs to be per the languages listed within the supportedLocales parameter.
- As soon as all supported locales have been added, save the file.