Localization of application icons in iOS 4

Okay, this is driving me crazy ...

I have an application icon localized using InfoPlist.strings with specific CFBundleIconFile language values ​​(choosing a different icon for each supported language).

With iOS 4, this method no longer works, and I'm struggling to find one that does.

Apple docs says that to place the correct Icon.png files in the appropriate language.lproj folders should be enough, but this does not work for application icons (everything else is just fine localized).

I wonder if anyone found a solution that works?

Thanks.

+4
source share
2 answers

You need to create language.lproj folders manually, and then create InfoPlist.strings file in each of them. Inside the file, enter the following: CFBundleIconFile = "Icon_en.png"; or CFBundleIconFile = "Icon_es.png"; It doesn't matter where the actual pngs are.

0
source

I have not tried using different icons for different languages, but I have tried different display names for the same application in different languages. So, I'm not sure about this solution, but you can try. Here is what I did:

  • Locate the InfoPlist.strings file in all languages ​​into which I wanted to translate my application.
  • I added the following code for each of them in my own languages. For English:

    "CFBundleDisplayName" = "england"; "CFBundleName" = "england";

For French:

 "CFBundleDisplayName" = "france"; 

"CFBundleName" = "france";

Here you can try to use the "icon files" property. Well, I'm still not sure. Hope this works.

0
source

All Articles