ios - iOS8 Regional Localization (e.g. pt-BR)? -
from understand, ios8 supports regional localisations (in case want back upwards pt-br).
see http://www.ibabbleon.com/ios-language-codes-iso-639.html
i having problems this, testing brand new single view application, in xcode have added pt , pt-br languages project, , altered text accordingly in pt.lproj , pt-br.lproj directories.
after setting device pt-br , running, text displayed pt, not pt-br desired.
indeed logging preferred locale returned nslocale
nsstring *language = [[nslocale preferredlanguages] objectatindex:0]; nslog(@"locale = %@", language);
returns 'locale = pt'...
am missing steps or bug in ios8?
thanks help...
for reason, ios8 using pt portuguese brasil (instead of pt_br). when select portuguese portugal, localization pt_pt
i've deleted localization, , added generic portuguese (and replaced .strings files old ones).
ios localization ios8 xcode6
No comments:
Post a Comment