adamped / ShareDialog

Example of a share dialog in Xamarin Forms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to manage localization on iOS?

pcdus opened this issue · comments

Hi Adam, I've also contacted you on your blog, please apologize me for this mixed message...

Is there a way to specify the language/localization on iOS?
Your sample works well, but I encounter a “problem” that I don’t understand.
I’ve tested it on Android (Meizu M2 Note) and iOS (iPhone 6) real devices, both are configured in french.
On Android, the Share dialog is well displayed in french.
But on iOS, the Share dialog is always displayed in english. I’ve tried to specify language in Info.plist but this didn’t change anything:

<key>CFBundleDevelopmentRegion</key>
<string>fr</string>
<key>CFBundleLocalizations</key>
<array>
  <string>fr</string>
</array>

What’s wrong?

After having reopened the solution, this works well. I think that's because I've edited the info.plist outside of Visual Studio: so the change wasn't probably taken into account...