I sent version 1.0 of
Way of Life to the App Store supporting only English. Now working on the 1.1 update with support for German, Korean, Danish and Polish I had to localize a few images too (screenshots in the tips section). However, UIImage doesn't load the localized version of the image unless you clean your target, i.e., delete the original images that are on the same directory level as the .lproj-folders (that "Make Localizable" creates). For localization of images you have to make sure those images are not present for UIImage not to take the first and the best image. I guess it has a search order where it first looks in the directory for "some_image.png" and if it doesn't find it looks in "users_selected_language.lproj" folder for "some_image.png".
The problem with this is that when the 1.1 update comes out current users will not see the localized version of the images even though they are there. I could make a method that deleted the files - I know!
Daily advice: use "Make Localizable" on images you think you might have to localize in a future update.
No comments:
Post a Comment