Objective-C sort alphabetically nsarray with localized Japanese?

Try with this NSUserDefaults standardUserDefaults setObject:NSArray arrayWithObject:@"ja_JP" forKey:@"AppleLanguages".

Try with this, NSUserDefaults standardUserDefaults setObject:NSArray arrayWithObject:@"ja_JP" forKey:@"AppleLanguages".

Thanks, I will give feedback today. – wagashi Nov 17 at 10:45 you r most welcome. – Surya Kant Nov 17 at 10:46 it works :) by the way, where do I find a list of such values for AppleLanguages?

– wagashi Nov 18 at 22:27.

You can sort your array as following NSArray *sortedArray = yourArray sortedArrayUsingSelector:@selector(localizedCaseInsensitiveCompare:); localizedCaseInsensitiveCompare is method in NSString.

– wagashi Nov 17 at 14:37 What I have mentioned will sort according to local languages. Please check the doc for localizedCaseInsensitiveCompare:. Thats why I have given the link.

– Lanc Nov 18 at 4:46 but where do I set local language? And how do I set local language? That is my question.

– wagashi Nov 18 at 10:54 You can set the language in iPhone/iPad/iPod Settings->General->Internationalization – Lanc Nov 18 at 12:26 but how to set it programmatically? – wagashi Nov 18 at 22:22.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send