Localization with Three20.bundle for me not working

378 views
Skip to first unread message

HappyYappy

unread,
Dec 19, 2009, 12:38:48 AM12/19/09
to Three20
Hi at all,

i am surely dumb because i cant get localization to work. If i only
open the example app (Catalog) and change the language on the
simulator or the device the default english localized string is shown
(no matter what language is set). As experienced with other Apps the
strings file is automatically taken from the language settings but
that seems not to work with the Three20.bundle file - any help how to
get the localization to work correctly (any further settings or
encodings...)?
Thank you

Cheers
Ralf

Eelco Lempsink

unread,
Dec 21, 2009, 8:11:21 AM12/21/09
to thr...@googlegroups.com

For localizations inside bundles to work, your app has to have some localized resources itself, because the available localizations are determined by looking at the once available in the main bundle. Alternatively, you can add the available localizations as a setting in your Info.plist, with the key 'CFBundleLocalizations'. Note that the value of this key has to be an array, something the Info.plist editor of XCode does not support, you edit the file 'by hand' to get the localizations in there. If you only need one localization, you can simple set the key 'CFBundleDevelopmentRegion' to the value of your choice.

--
Regards,

Eelco Lempsink

Reply all
Reply to author
Forward
0 new messages