My Xcode project is localized to "Portuguese (Brazil)", then I tried to set language to "Portuguese" and "Portuguese (Portugal)" on device and simulator, but the interface still show English, what's wrong?
Other localized languages work well, only Brazil failed to work. I wonder what language setting would Brazil people choose?
I asked some coders, in Xcode, they just localize to "Portuguese" and skip "Portuguese (Brazil)". No idea why Apple would make such a difference between iOS and Xcode.
Today I had the same issue and I am able to make my project work correctly now. I would say this is happening because of the way xCode provides us options to select Portuguese Brazil.
Actually this line from Apple Documentation helped me:
The language ID for scripts or dialects uses subtags, as in pt-PT where pt is the code for Portuguese and PT is the code for Portugal. For example, use pt as the language ID for Portuguese as it is used in Brazil and pt-PT as the language ID for Portuguese as it is used in Portugal.
For Brazil Portuguese select only Portuguese language (pt) and not Brazil Portuguese. For Portugal Portuguese, you can select Portuguese Portugal (pt-PT). It will work.
Thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With