iPhone en_* sublanguage localization

后端 未结 6 1606
故里飘歌
故里飘歌 2021-02-08 14:53

I want to localize strings in my iphone app for en_GB and other \'en\' sub-languages, but XCode and the iphone refuse to let this happen. I have created a localization of \"Loca

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-08 15:43

    I’m not sure in which version of iOS it was introduced, but iOS 7 definitely has a ‘British English’ language preference that will pick up resources from the en_GB.lproj directory. The various hacks floating around the web shouldn’t be necessary unless you’re after a more specialised* dialect.

    *see what I did there ;)

提交回复
热议问题