Localize-Swift
Localize-Swift copied to clipboard
Set CFBundleLocalizations in info.plist
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().