iOS > NSLocalizedString

May 30, 2012   ·   0 Comments

Screen Shot 2012-05-30 at 11.31.29 PM

very good tutorial :

http://www.raywenderlich.com/2876/how-to-localize-an-iphone-app-tutorial

You can do the localization by changing the titles of the UI elements in code:

self.title = NSLocalizedString("News", nil); 

If you want to localize your app in Dutch for example, you would have this inDutch.lproj/Localizable.strings:

"News" = "Nieuws"; 

You can then do this for every UI element and language.

How to localization on iOS 5

http://www.albertmata.net/articles/introduction-to-internationalization-using-storyboards-on-ios-5.html

shareShare on FacebookShare on Google+Share on LinkedInEmail this to someonePrint this pageBuffer this pageDigg thisFlattr the authorShare on RedditPin on PinterestShare on StumbleUponShare on TumblrTweet about this on Twitter

By


Readers Comments (0)


You must be logged in to post a comment.

PowenKo’s Online Store

powenko_arduinoBook
iOS Tutorial9

Amazon

adsbygoogle

Recent Posts

Categories

Amazon