質問

An already existing iOS app of a client is now being localized for various languages.
I localized the storyboard, InfoPlist.strings, Localizable.strings, splash screens and icons.

For the English, Spanish and Dutch languages the app name gets translated, as well the settings screen. However, for the Chinese languages (both Traditional and Simplified) the name of the app (as being displayed below the app icon and in settings) remains what is set by the base localize InfoPlist.strings The splash screens also won't change Everything else (Storyboard, translating strings through code) gets translated as normally. For the testing of the translations the simulator is being used.

This is in my InfoPlist.strings file for Chinese Simplified:
"CFBundleDisplayName" = "Simplified";
The file is located in zh-Hans-CN.lproj For the Traditional InfoPlist.strings file the content is similar, and the location is zh-Hant-TW.lproj
Both files were auto generated by Xcode 5.1
In the same directory the Localizable.strings are also present, and those files get loaded correctly.

Any suggestions?

役に立ちましたか?

解決

You should localize for the general Chinese languages zh-Hans.lproj and zh-Hant.lproj not the special Chinese Simplified (China) and Chinese Traditional (Taiwan)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top