SlideShare a Scribd company logo
Localization
Submitted By:
Pawan Ramteke
(iOS Developer)
Guided by:
Amol Hirkane
What is Localization?
Localization is the process of rendering the
content of your app into multiple languages.
Before you can localize your app, you have to
internationalize it. Internationalization is the
process of making your app able to adapt to
different languages, regions, and cultures. It
involves 2 parts:
User-Interface (.xib, .storyboard)
Code (.m, .swift)
Internationalizing User-
InterfaceTo Internationalizing project go to:
Project Editor > Project > Info.
Create the Strings File
To create .string file, go to
Project navigator > New file > resource > string file
Localize Your Project
Now you are ready to localize your project.
For localize , select the string file > you will see the localize button in the file
inspector.
Add a New Language
For adding a new language into your project.
Go to Project Navigator > info > localization tab and click +
Add Localized Strings into
String File
The string file has a following syntax to add localized
strings:
“KEY” = “Value”;
Ex : “KEY_HELLO” = “HELLO”; (for English
localization)
The Key should be same in all the localized file.
Add Preferred Languages into
DeviceFor adding preferred languages into device go to:
Device Settings > general > language & region > in
Preferred Language Order Add Language
Get all Preferred
languages
For getting all the preferred languages you add previously ,
NSLocale is use.
NSLocale is a Foundation class that encapsulates all of the
conventions about language and culture for a particular locale.
The following code returns an array if preferred languages
code (en - English)
NSArray *ArrayAllLanguages= [NSLocale
PreferredLanguages]
Thank you!

More Related Content

KEY
iOS Localization
PDF
Beginning iOS App Localization
PPTX
Mobile App Localization Best Practices
PPTX
State of the art of the bologna process towards an international cooperation ...
PDF
iOS localization
PDF
Localization and Accessibility on iOS
PDF
Affordable and efficient multi platform localisation. case study
PPTX
Affordable and efficient multi platform localisation. case study
iOS Localization
Beginning iOS App Localization
Mobile App Localization Best Practices
State of the art of the bologna process towards an international cooperation ...
iOS localization
Localization and Accessibility on iOS
Affordable and efficient multi platform localisation. case study
Affordable and efficient multi platform localisation. case study

Similar to Localization for iOS (9)

PPTX
Mobile Cafe #6
PDF
Localizing Mobile Apps
PDF
Localization Realization
PDF
Avoiding Pitfalls with Internationalization & Localization
PDF
Localization of iPhone Apps
PDF
iOs app localization / Yoni tsafir
PDF
Mobile Warsaw - Efficient Localization for iOS Apps
PDF
Internationalizing Your Apps
PPTX
mobile devops summit 2022 - Parlez vous Ingles
Mobile Cafe #6
Localizing Mobile Apps
Localization Realization
Avoiding Pitfalls with Internationalization & Localization
Localization of iPhone Apps
iOs app localization / Yoni tsafir
Mobile Warsaw - Efficient Localization for iOS Apps
Internationalizing Your Apps
mobile devops summit 2022 - Parlez vous Ingles
Ad

Recently uploaded (6)

PDF
6-UseCfgfhgfhgfhgfhgfhfhhaseActivity.pdf
PDF
Lesson 13- HEREDITY _ pedSAWEREGFVCXZDSASEWFigree.pdf
DOC
证书学历UoA毕业证,澳大利亚中汇学院毕业证国外大学毕业证
PPTX
ASMS Telecommunication company Profile
DOC
Camb毕业证学历认证,格罗斯泰斯特主教大学毕业证仿冒文凭毕业证
PPTX
Introduction to Packet Tracer Course Overview - Aug 21 (1).pptx
6-UseCfgfhgfhgfhgfhgfhfhhaseActivity.pdf
Lesson 13- HEREDITY _ pedSAWEREGFVCXZDSASEWFigree.pdf
证书学历UoA毕业证,澳大利亚中汇学院毕业证国外大学毕业证
ASMS Telecommunication company Profile
Camb毕业证学历认证,格罗斯泰斯特主教大学毕业证仿冒文凭毕业证
Introduction to Packet Tracer Course Overview - Aug 21 (1).pptx
Ad

Localization for iOS

  • 1. Localization Submitted By: Pawan Ramteke (iOS Developer) Guided by: Amol Hirkane
  • 2. What is Localization? Localization is the process of rendering the content of your app into multiple languages. Before you can localize your app, you have to internationalize it. Internationalization is the process of making your app able to adapt to different languages, regions, and cultures. It involves 2 parts: User-Interface (.xib, .storyboard) Code (.m, .swift)
  • 3. Internationalizing User- InterfaceTo Internationalizing project go to: Project Editor > Project > Info.
  • 4. Create the Strings File To create .string file, go to Project navigator > New file > resource > string file
  • 5. Localize Your Project Now you are ready to localize your project. For localize , select the string file > you will see the localize button in the file inspector.
  • 6. Add a New Language For adding a new language into your project. Go to Project Navigator > info > localization tab and click +
  • 7. Add Localized Strings into String File The string file has a following syntax to add localized strings: “KEY” = “Value”; Ex : “KEY_HELLO” = “HELLO”; (for English localization) The Key should be same in all the localized file.
  • 8. Add Preferred Languages into DeviceFor adding preferred languages into device go to: Device Settings > general > language & region > in Preferred Language Order Add Language
  • 9. Get all Preferred languages For getting all the preferred languages you add previously , NSLocale is use. NSLocale is a Foundation class that encapsulates all of the conventions about language and culture for a particular locale. The following code returns an array if preferred languages code (en - English) NSArray *ArrayAllLanguages= [NSLocale PreferredLanguages]