Name of an International iPhone application

Source: Internet
Author: User

From: http://www.voland.com.cn/iphone-international-application-name

IPhone applicationsProgramName Internationalization

PreviousArticleThis article is called "using nslocalizedstring to internationalize iPhone". It mainly introduces the internationalization (localization) of characters and other information in applications. In many cases, we hope that the Application name can also be internationalized, so that people in different countries can see the application name to understand the purpose of the program. For example, i16ds, a chemical trading software produced by fangdu chemical network, cannot be used to understand the English name unless the other party is familiar with it.

The iPhone application name internationalization is actually relatively simple. Here I have a relatively simple, fast, and does not affect the original program (no need to modify any originalCode.

Step 1: Add a strings file named infoplist. strings to the resources of the project.

Step 2: Check the info of this file, make file localizable on the General tab, and return to General. Add localization is named zh_cn. Note the zh_cn here. If you want to add other languages, add the corresponding country name directly.

Step 3: Add two lines of text to zh_cn. In fact, you only need cfbundledisplayname.

Cfbundlename="Chinese name";Cfbundledisplayname="Chinese name";

Step 4: add these two lines of text to English and others

 
Cfbundlename="Englishname";Cfbundledisplayname="Englishname";

Recompile the project, switch the language in the simulator, and check whether the effect is correct?

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.