Base internationalisation with Xcode 10

让人想犯罪 __ 提交于 2019-12-03 12:30:16

This happens because iOS doesn't only looks for the current system language. It looks for the first supported language in the list of preferred languages.

But when you choose language in system preferences, iOS automatically adds this language to the list of preferred languages (Settings -- General -- Language & Region -- "Preferred language order" section).

Thus, when you change language to unsupported language, the app selected the second language in the "Preferred language order" list.

So, the "Base.lproj" file doesn't work.

Perhaps for this reason, Apple removed "Base.lproj" from Xcode 10.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!