Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > Business Forums > Business, Legal, & App Store

Reply
 
LinkBack Thread Tools Display Modes
Old 02-10-2010, 10:21 AM   #1 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 3
Default language versions of app

I am developing an app that will be available in various languages (spanish, english, german).
is it necessary to publish three different version (for each language) of the app or is there a way to upload only one app to the app store and the app detects the language of the user automatically and offers the right language?
what’s best practice for that?
Thanks!
greenhoney is offline   Reply With Quote
Old 02-10-2010, 10:31 AM   #2 (permalink)
Registered Member
 
alexy's Avatar
 
Join Date: Jul 2009
Location: Melbourne, Aus
Posts: 199
Default

Quote:
Originally Posted by greenhoney View Post
I am developing an app that will be available in various languages (spanish, english, german).
is it necessary to publish three different version (for each language) of the app or is there a way to upload only one app to the app store and the app detects the language of the user automatically and offers the right language?
what’s best practice for that?
Thanks!
I use localized based strings for this, for eg:
fr french
en english
de German
gr greek

You essentially define a key/value pair in these files, and from the code, you do something like:

labelHeading.text = NSLocalizedString(@"headingSettings", "Settings");

In this case, I'd have an entry of (in my en file):
"headingSettings" = "Settings";

It gets a bit more complicated with .xib files, but I find altering the controls (UILabel, etc) by code is better than having multiple localized .xib

Note, the sample app "International Mountains" might help you with a solid example of Localization

Last edited by alexy; 02-10-2010 at 10:35 AM. Reason: International Mountains Sample app may help you
alexy is offline   Reply With Quote
Old 02-10-2010, 11:31 AM   #3 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 3
Default

Thank you!

Will there exist only one app in the App store if you use lacalized based strings?

If yes, I guess the publisher has to upload three versions of meta infos for the different languages (eg description of app, screen shots). And then eg the spanish app store shows the meta info (description of app, screen shots) in spanish, the german app store show meta info in german and so on.
Is this correct?

Or can the publisher only upload the meta info in one language, eg in english? (in this case in the spanish store the user will see the meta info also in english)

(with description in the three languages)

Quote:
Originally Posted by alexy View Post
I use localized based strings for this, for eg:
fr french
en english
de German
gr greek

You essentially define a key/value pair in these files, and from the code, you do something like:

labelHeading.text = NSLocalizedString(@"headingSettings", "Settings");

In this case, I'd have an entry of (in my en file):
"headingSettings" = "Settings";

It gets a bit more complicated with .xib files, but I find altering the controls (UILabel, etc) by code is better than having multiple localized .xib

Note, the sample app "International Mountains" might help you with a solid example of Localization
greenhoney is offline   Reply With Quote
Old 02-10-2010, 11:34 AM   #4 (permalink)
Registered Member
 
Join Date: May 2009
Location: Sweden
Posts: 7
Send a message via AIM to kjnoren
Default

Quote:
Originally Posted by greenhoney View Post
I am developing an app that will be available in various languages (spanish, english, german).
is it necessary to publish three different version (for each language) of the app or is there a way to upload only one app to the app store and the app detects the language of the user automatically and offers the right language?
what’s best practice for that?
Thanks!
Only one version of the app is needed - it can contain several different language folders, and switch between them with a restart of the app.

The XCode documentation contains plenty of documentation on localization and will easily get you started.
kjnoren is offline   Reply With Quote
Old 02-10-2010, 03:51 PM   #5 (permalink)
Registered Member
 
alexy's Avatar
 
Join Date: Jul 2009
Location: Melbourne, Aus
Posts: 199
Default

Quote:
Originally Posted by greenhoney View Post
Thank you!

Will there exist only one app in the App store if you use lacalized based strings?

If yes, I guess the publisher has to upload three versions of meta infos for the different languages (eg description of app, screen shots). And then eg the spanish app store shows the meta info (description of app, screen shots) in spanish, the german app store show meta info in german and so on.
Is this correct?

Or can the publisher only upload the meta info in one language, eg in english? (in this case in the spanish store the user will see the meta info also in english)

(with description in the three languages)
Correct, as kjnoren points out, only 1 app is needed.

The switching happens at run time depending on your Settings:
Settings > General > International > Region Format
Settings > General > International > Language..

This works for both iPhone/iPod and Simulator.

Tip: Do the Region Format first as you get booted out of settings when changing Language.

Yes, you'll also need separate screenshots (like I do in my game Deal or Not) which will be language and country based but itunesconnect supports this (under the Localization section).
alexy is offline   Reply With Quote
Reply

Bookmarks

Tags
app store, language versions

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 247
14 members and 233 guests
2WeeksToGo, ADY, BrianSlick, Dani77, Dattee, headkaze, kapps11, mer10, mgon987, sneaky, timle8n1, Touchmint, vigu360
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,879
Threads: 89,228
Posts: 380,744
Top Poster: BrianSlick (7,129)
Welcome to our newest member, mgon987
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:45 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0