So I have an app written in react-native which uses expo and I want my app to support only one language - polish. The problem is some of built in components aren't translated, for example when app asks for permissions they are in english despite phone's language is polish. The problem occurs only for iOS, android is fine.
I think i need to set primary langue to polish but there is no such option in: iTunes Connect -> My apps -> App Store -> App information -> Localizable Information
I have also read this article: https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/DisplayInMoreLanguages.html
And they say that if I can't pick the language I want: "there’s no metadata entered for the language" so how to add one?
I don't have any experience as an iOS developer.
Any thoughts how I could solve this problem?
Sure, you can at the app.json. Just this way (in the example, my real json for my app, spanish).
At expo.ios.infoPlist property just add:
Take note CFBundleLocalizations is an array, so you can add several languages.
At expo property add this:
Finally, create the ./locales/es.json (remember, this is my case for spanish, just change "es" by "fr", "de"...) with an empty json:
But if you are working with more than one language, take note: