Take the 2-minute tour ×


I can localize my iPhone app with the systems local by localizing the nib files and adding a Localizable.strings file to my project.

Is there a way to set the language to a application specific language and then load the correct stings/files?

(The idea comes from an Canadian, he wants his device in english, but some apps in french)

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I used the following and it works

//Set the language
NSArray *languages=[NSArray arrayWithObject:@"es"];
[[NSUserDefaults standardUserDefaults] setObject:languages forKey:@"AppleLanguages"];


share|improve this answer
And this works in runtime? –  Mats Stijlaart Nov 20 '10 at 10:15
i believe so, i have'nt done rigorous testing though –  Veeru Nov 20 '10 at 10:35
yup this works, i have tested it multiple times –  Veeru Dec 21 '10 at 7:31

Your Answer


