Multiple language for MultipeerConnectivity

I developed an app for iPad and iPhone which connects each other.

iPhone in HMD and iPad to control the iPhone because we cannot touch iPhone in HMD.


I noticed the language of the dialog is always written in English no matter which language I'm using.

"OK", "Cancel", "CHOOSE 1 INVITEE", etc.

sample image) https://www.dropbox.com/s/5rfjzd6jj99z8pw/unnamed.png?dl=0


Does Apple have any possibility of Multi-language support of MultipeerConnectivity or these kind of matters are all up to each developer?

I'd like to know your opinion.


best regards,

I changed the device language to Spanish (for an app localized for Spanish), and this is what I got: ibb.co/jLZx3VH Everything is localized correctly except for the "Choose 1 to 7 invitees" text.


In your screenshot, all the text is English, which is different from what I got. What device language are you using? And what languages is your app localized for?


Regardless, all the text should be translated by Apple, and it looks like some translations are missing. You should file a bug report for the translations to be added.

The most common cause of the “all text shows up in the wrong” language problem is that folks are doing their own localisation (typically to support dynamic language change) and thus the OS does not know what language their app is current running in. I strongly recommend that you avoid doing this, and instead rely on the OS’s standard localisation support. That’s the only way to avoid problems like this.

The specific issue that TheCD note does indeed sound like a bug in Multipeer Connectivity and I recommend that you file it as such.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

FYI, I filed bug #46749780 for this problem.

Multiple language for MultipeerConnectivity
 
 
Q