Localize-Swift icon indicating copy to clipboard operation
Localize-Swift copied to clipboard

Set CFBundleLocalizations in info.plist

Open powhu opened this issue 8 years ago • 0 comments

I found if I add "Chinese(traditional)" into CFBundleLocalizations, Localize.availableLanguages() will return ["zh_TW", "de", "en", "es", "fr", "he", "it", "ja", "zh-Hans", "zh-Hant"]

without CFBundleLocalizations will return ["de", "en", "es", "fr", "he", "it", "ja", "zh-Hans", "zh-Hant"]

zh_TW is same as zh-Hant but project doesn't have zh_TW.lproj, so "Localize" always use defaultLanguage().

powhu avatar Mar 07 '17 16:03 powhu