Reputation: 5736
I would like to see default button captions in my native language ,
Even I changed iPad's language to another lang. my app still shows English ones...Edit,Done,Save etc.
I also set CFBundleDevelopmentRegion as a User-Defined variable in XCode but not helped !
Can you help ?
Upvotes: 5
Views: 5723
Reputation: 5736
For monotouch I think it is different, They hide some langs for reducing the size of IPA.
http://docs.xamarin.com/guides/ios/advanced_topics/localization_and_internationalization
Upvotes: 1
Reputation: 2572
You should make these things:
Add your native language to app's supported Localization
array of languages;
Make your Application.Main
procedure looks like:
static void Main (string[] args)
{
// if you want to use a different Application Delegate class from "AppDelegate"
// you can specify it here.
NSUserDefaults.StandardUserDefaults.SetValueForKey(NSArray.FromStrings("tr"), new NSString("AppleLanguages"));
NSUserDefaults.StandardUserDefaults.Synchronize();
UIApplication.Main (args, null, "AppDelegate");
}
Then, this
turns to this
(I suggested that your language is turkish.)
Upvotes: 14