App name localization in xcode4.5

Source: Internet
Author: User

Reference

[1] http://developer.apple.com/library/ios/#documentation/MacOSX/Conceptual/BPInternational/Articles/LocalizingPathnames.html#//apple_ref/doc/uid/20002141-BBCFJBFB

If an app is released in different countries, You Need To localize or internationalize the app. Select the corresponding resource based on the language type of the device and display the correct icons and text. In addition, I searched for localization on the Internet and found that many operations were different due to the xcode upgrade. Therefore, this article uses the latest xcode4.5 as an example.

1. Localization of APP display names

1) Select the project and press the + number in localizations in info to create localization for infoplist. Strings and storyboard.

2)

Add "cfbundledisplayname" =
"Testlocalization ";

Add "cfbundledisplayname" = "localization test" in infoplist. Strings (Chinese ";


3) The running result is as follows:

When device is an English environment

When device is a Chinese Environment

Note:

For details, refer to the lshaslocalizeddisplayname of info. plist in the Apple document [1]. Set it to yes, but the test shows that it is fine if it is not set.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.