TAILIEUCHUNG - Lập trình iPhone part 17

Ứng dụng địa phương hoá Tại thời điểm viết bài này, iPhone là, hoặc sẽ sớm được, có mặt tại 70 contries khác nhau, và con số rõ ràng sẽ làm tăng thời gian. Bạn có thể mua và sử dụng một chiếc iPhone trên mọi mong đợi continenr Antarctial. | Chapter 17 Application Localization t the time of this writing the iPhone is or will soon be available in 70 different countries and that number will obviously increase over time. You can now buy and use an iPhone on every continent except Antarctica. If you plan on releasing applications through the iPhone App Store your potential market is considerably larger than just people in your own country who speak your own language. Fortunately iPhone has a robust localization architecture that lets you easily translate your application or have it translated by others into not only multiple languages but even into multiple dialects of the same language. Want to provide different terminology to English speakers in the United Kingdom than you do to English speakers in the United States No problem. That is no problem at all if you ve written your code correctly. Retrofitting an existing application to support localization is much harder than writing your application that way from the start. In this chapter we ll show you how to write your code so it is easy to localize and then we ll go about localizing a sample application. Localization Architecture When a nonlocalized application is run all of the application s text will be presented in the developer s own language also known as the development base language. When developers decide to localize their application they create a subdirectory in their application bundle for each supported language. Each language s subdirectory contains a subset of the application s resources that were translated into that language. Each subdirectory is called a localization project also called a localization folder. Localization folder names always end with the extension .Iproj. 473 474 CHAPTER 17 Application Localization In the Settings application the user has the ability to set the language and region format. For example if the user s language is English available regions might be United States Australia or Hong Kong all regions in which .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.