PDA

View Full Version : Order of languages chosen for localisation


jbsp72
09-30-2008, 02:07 AM
Hi,

I have ported an application to Mac and localised it in english,spanish,portugese and german. I used CFCopyLocalizedString() to get my localised strings from the Localizable.strings file in the appropriate .lproj folder. I had one question regarding the order in which languages are chosen. When the language I have to localise in is at the top of the language list in the International system preferences pane I have no problem. But If its not say language order is Italian to which I dont localise , followed by spanish and English, my application picks up english localised strings. Shouldn't it pick up Spamish because that is my second preference?

Also if I have say afrikaans, followed by spanish and english then Spanish localised strigs get picked up by CFCopyLocalizedString(). Is that how it is supposed to be or am I doing something wrong?

Thanks
jbsp72