is there a way to get all available languages on the iphone just like in the settings app?
can't find a method in NSLocales Class Reference.
thanks!
is there a way to get all available languages on the iphone just like in the settings app?
can't find a method in NSLocales Class Reference.
thanks!
[NSLocale preferredLanguages]
will get you a list of codes like this, which you can translate yourself:
en,
fr,
de,
ja,
nl,
it,
es,
Well, there is [NSLocale availableLocaleIdentifiers]
…
EDIT: what do you mean by “I need the local identifiers”? Do you mean the NSLocale identifiers or the localized language names? I fear the latter is not possible.