How to change the language of application in iphone - iphone

I am developing an application, in which i am giving user to select other language , by default the application will be in English , if user selects other language from the list.
The application language should be get changed to the respective language.
I know the concept of Localization, but if there any way to do that,
if i want to do that using localization please suggest me proper steps for that.
please suggest me solution for that.

Well, usually the language of the application is set from the language of the system (in phone settings), that's how most iPhone apps operate. If you go with that route - you get 'locale switching' for free, and NSLocalizedString method takes care of picking correct strings for you.

Related

What's the best way to publish a multilingual iphone game on the AppStore?

I'm close to publishing an iPhone game on the AppStore and I'm wondering what would be the best way to publish a multilingual game...
Should I use the iPhone language settings to load the language accordingly?
Publish multiple versions of the same game but in different languages?
Put a setting on the game to change languages (or would users prefer not to use this one...) ?
Any ideas, recommendations, or best practices would be greatly appreciated.
One app. Period.
Always use the user's current locale, and make a reasonable assumption for default in case you lack localizations users may be using. I've seen most commonly English be used as the default. Myself, I wouldn't even supply an override; the user has the device in their preferred localization already.
I would definitely include all languages in a single app. You could set the default language to the language that the user has enabled on his phone and add an additional option in your app's settings.

How to localize App Store meta data for Phonegap app on iPhone

i'm currently wondering how to add more localizations to my PhoneGap App on the App Store. So it is already deployed, and in App Store it shows under Languages, right under the Icon "English, Spanish" but I never changed any configs or so to acheive this. I found in my xCode-project /App_NAME/Resources a en.lproj and es.lproj folder with Localisation.strings.
The standard way I found so far would be to do this.
But for some Reason those folder I create never appear in xCode. What am I doing wrong, and why can't I add more of these ominous XX.lproj-folders?
I'm totally stuck.
I can do javascript localisations for the app itsself but without this app-store languages I can't get my meta-data translated...
Any experience highly appreciated!
the best way is to do it from javascript since you're using PhoneGap.
retrieve the device/userAgent language (or locale, or simply ask the user for a preferred language) and then edit the content accordingly.
If you want to localize app store meta data, your app, or your marketing content there are tools out there now to speed the process such as TraductoPro, which also has built-in human translation ordering services. It even automates or 'macronizes' your code, making the xcode strings localizable. It's a Mac app, simple to use.

How to change application language without restart/closing app?

I have implemented language change after restarting my app but my question is can I change my application language without restarting/closing it?
Any idea how to achieve this?
You can achieve this using the base functionalities of iOS, i.e. localization. What you can do is localizing your app in different languages, and let the iOS itself chose the right language to display when the application starts.
This way, if a user uses the iDevice in English, he/she will see your app in English (if you supported it as a localized language), if he/she uses the iDevice in French, he/she will see your app in French (again, if supported).
The official Apple page about Internationalization and Localization (also called i18n and l10n), can be of great help.

Multi language Supports in iPhone?

I created one apps and successfully submitted into AppStore. Now my client wants to support multi language like Portuguese, French, Chinese, etc., into my apps. How do i create multi language supports in my application?, Is there any sample application or tutorials available?. Is it possible to create multi language in iPhone?. (I have seen in my device, settings -> general -> International -> Language -> Choose Language Options). But it does affect all the application in my device. But its not solution for that. So how do i create?
Please Guide me!
Thanks
You'll need to internationalize your app using multiple XIBs and/or strings files. I strongly recommend reading Apple's documentation on the process.
Yes. You can support multiple languages. Most of the information is here http://developer.apple.com/internationalization/

Best way to make an iPhone application multi-lingual

Can anyone tell me the best way to go about making an iPhone application support multiple languages? I am going to put separate versions for each language in the App Store, but what is the best way to represent this in Xcode?
Putting a separate app in the store for each language is NOT the way to go. The iPhone SDK handles multiple languages with grace, and you only need to have a single app with all the various translations. The iPhone's locale setting will direct your app as to which language to use.
A good place to start is here.
I haven't done iPhone dev yet, but "normal" Cocoa apps use ".lproj" strings files for different languages. See the docs about those, that should help. Good luck.