What localization code should you use in Xcode for the "Mexican Spanish" locale
In iTunes connect, you can submit Spanish and Mexican Spanish localizations. I'm using the "spa" locale for Spain (Spanish), but "spm" doesn't work for Mexico in the simulator.
Ideally I think I'd like to use a locale code that would work for all latin american countries Spanish, as I think they prefer the Mexican variant.
What is the correct code to use开发者_JAVA技巧?
es-MX
. For any Spanish variant, use es
. If you want to specifically refer to Castilian Spanish (for example), use es-ES
. I'm not sure where the official list of these codes is, but it's got to be around somewhere (if you find it, leave a comment w/ the link!).
According to this post in the Apple forums, only one version of Spanish is allowed. However they do allow British English (en_GB) and Portuguese for Portugal (pt_PT).
https://devforums.apple.com/message/253355
精彩评论