Well, I lost a lot of time trying to figure out how to localize my iphone application, other than look at the apple documentation we have a lot of nice resources out there to learn how to do it like:

http://www.raywenderlich.com/2876/how-to-localize-an-iphone-app-tutorial

http://www.icanlocalize.com/site/tutorials/iphone-applications-localization-guide/

So I will not explain again how to localize an application, because others did that already, the problem that I had is that I learned everything, and localized my entire application but didn’t work. I struggle with this for 2 days, looked on net for solutions but couldn’t find any. Doesn’t matter what I did my application just shows english localization, and I wanted to show Portuguese Brazilian instead but still not working. Well the thing is xcode allow you to localize your application for Brazilian Portuguese or GK English, etc,  but regions will not work on iphone/ipad/ipod, it will work only on a mac computer(imac, macbook pro, etc). The problem is the iphone doesn’t care about the region set, so the only thing that I had to do it is create a portuguese localization instead a brazilian portuguese localization, so the directory should be pt.lproj instead of pt-BR.lproj . This really sucks because xcode is the one that create the directories in the first place. I just would like to post this because it was hard for me to figure this out, I looked everywhere for an error on my code, but there wasn’t any, after reading a lot of apple documentation I understand what was going on. I hope this can help other developers. Bottom line in ios there is no way that I know of to localize the same language for two different regions, so my customers in Portugal will have to live with Portuguese from Brazil, or my GK customers will have to deal with usa english. cya guys

Advertisement