tags:

views:

24

answers:

0

I've got a problem with App localization when we tried to upgrad our App to iOS4:

We have few language localization files in our App, in the format of {language code}_{country_code}.lproj, for example for Swedish language in Sweden the name of localization file is sv_SE.lproj, and this works well in iOS 3.x. However after upgraded to iOS4, the App is always using original English strings to display localized messages, no matter what language and country combination I selected in iPhone international setting panel.

After some tests, I found that if I change the localization file's name into {language code}.lproj, eg. rename sv_SE.lproj into sv.lproj, then the localized messages could work again. However, some of localized messages in our App is different for same language in different countries, for example in our old App we have de_DE.lproj for German language in Germany and de_AT.lproj for German language in Austria, and not all localized messages in these two files are the same.

We still want to have the ability of apply localization resources based on language and country combination, but since the old mechanism no more work under iOS 4, does anyone know is it possible in iOS 4? If it's still possible, what should we do to enable language and country combination based localization?