Localization of iOS development--production of string tables

Source: Internet
Author: User

When iOS is developed, localization requires the use of a string table, and the MAC provides an auto-build tool,-genstrings. You can use Genstrings to generate a string table from a. m file.

1. Open the terminal application on the MAC device.

2. Navigate to the Code directory. The simplest way to do this is to enter the CD space in the terminal window, then open the program folder from the Finder, drag it to the terminal window, a long path name will appear, enter. The LS command allows you to view directory content confirmations.

3. Produce a string table using the following code:

Genstrings-o base.lproj *m

-O: Indicates the output folder

*.M: Tell genstring to browse every. m file to find a possible localized string

Localization of iOS development--production of string tables

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.