Zura
Zura

Reputation: 1100

iOS app localization

I want to localize my app. Should I create a new app in itunesconnect for each country or there is a way to automatically detect the country where user is? Actually my app is game based on Unity3d - is it possible to do it on Unity3d?

Upvotes: 2

Views: 3237

Answers (3)

jvnbt
jvnbt

Reputation: 2505

You dont need to make a new app for each language. Try following a guide like SmoothLocalize's tutorial or This one.

Then you'll have a Localizable.strings file you need to translate. I usually use SmoothLocalize.com as my translation services, because its cheap and super easy, but you can look around for others or even try to find individual translators yourself.

Upvotes: 1

Clafou
Clafou

Reputation: 15400

Definitely don't create a new app for each locale. iOS apps are localizable and iTunes Connect allows you to enter different metadata for each language.

Upvotes: 1

lukaswelte
lukaswelte

Reputation: 3001

Before Unity starts write these lines to pass the current language into unity

NSUserDefaults* defs = [NSUserDefaults standardUserDefaults];

NSArray* languages = [defs objectForKey:@"AppleLanguages"];

NSString* preferredLang = [languages objectAtIndex:0];

[[NSUserDefaults standardUserDefaults] setObject: preferredLang forKey: @"language"];

[[NSUserDefaults standardUserDefaults] synchronize];

Upvotes: 2

Related Questions