Localization Issue
Localization Issue
- Subject: Localization Issue
- From: parag vibhute <email@hidden>
- Date: Mon, 24 Dec 2007 18:29:06 +0530
I am referring to Technical Q&A QA1391. There apple has provided
following code:
NSUserDefaults * defaults = [NSUserDefaults standardUserDefaults];
NSArray * languages = [defaults objectForKey:@"AppleLanguages"];
NSLog(@"%@\n", languages);
Apple also mentions that this will give different output on different
OS. My application runs on 10.3+, 10.4+ & 10.5+ OS. I run the above
code on these OS & found that on 10.3.7, for traditional chinese
language, above code retuns zh_TW while on 10.4 & 10.5 it returns zh-
Hant. My requirement is there any API by which I can get older
canonical form (like zh_TW) from new canonical form (like zh-Hant)?
Please reply.
Regards,
Parag Vibhute
echo alclr.qzcefyptyqzepns@nzx | tr a-z@. p-za-o.@
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden