Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-07-2009, 06:15 PM   #1 (permalink)
Alx
New Member
 
Join Date: Jan 2009
Posts: 11
Question Unable to internationalize icon.png file

Hi all,


I know how to internationalize my Icon.png file.

It's workign on my iPhone, and on the simulator.


But when I upload my application to itunesconnect,

I got this error message "The bundle did not contain an icon."


And I also know why... because there is no "Icon.png" file

at the root of my application.app folder (when I browse "package contents" in Finder)

because the 2 "Icon.png" files are in English.lproj and French.lproj folders.


If I put an "Icon.png" file at the root of the distribution app',

itunesconnect does accept it, but the Icon is not localized.


I can't solve this issue and didn't find any help on Internet.

Any help would be really appreciated.


Thanks in advance.


Best regards,

Alx
Alx is offline   Reply With Quote
Old 07-07-2009, 07:35 PM   #2 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 459
Default

Quote:
Originally Posted by Alx View Post
Hi all,


I know how to internationalize my Icon.png file.

It's workign on my iPhone, and on the simulator.


But when I upload my application to itunesconnect,

I got this error message "The bundle did not contain an icon."


And I also know why... because there is no "Icon.png" file

at the root of my application.app folder (when I browse "package contents" in Finder)

because the 2 "Icon.png" files are in English.lproj and French.lproj folders.


If I put an "Icon.png" file at the root of the distribution app',

itunesconnect does accept it, but the Icon is not localized.


I can't solve this issue and didn't find any help on Internet.

Any help would be really appreciated.


Thanks in advance.


Best regards,

Alx
I have to admit, I never wanted to do that myself. Anyway, I'd first try this:

1) Right click on your info.plist
2) Choose "Get Info"
3) Click on "Make Localizable" button.
4) On top of that window now choose "General"
5) Then click on the "Add Localization" button and add your localizations
6) Now you have 2 different info.plist files and this should allow you to use 2 different icon images as well.

Again, I have not tested it, so maybe try it with a new project first.
Good luck.
NewiPhoneDeveloper is offline   Reply With Quote
Old 07-08-2009, 02:11 AM   #3 (permalink)
Alx
New Member
 
Join Date: Jan 2009
Posts: 11
Default

Quote:
Originally Posted by NewiPhoneDeveloper View Post
I have to admit, I never wanted to do that myself. Anyway, I'd first try this:

1) Right click on your info.plist
2) Choose "Get Info"
3) Click on "Make Localizable" button.
4) On top of that window now choose "General"
5) Then click on the "Add Localization" button and add your localizations
6) Now you have 2 different info.plist files and this should allow you to use 2 different icon images as well.

Again, I have not tested it, so maybe try it with a new project first.
Good luck.
thanks for your answer.
I tried that and that partially solved my problem as I finally was able to upload the binary to itunesconnect BUT the application is not really well localized :
- after installation, the right main icon is displayed in springboard
- but if I change the language, name of my application does change but not the icon...
- I also tried to reboot the iPhone => same issue

So I tried to switch the language and then to reinstall the application, in this case the right name and the right icon are displayed.

But still, changing the language doesn't work for the icon.

Anyway, that's a good solution because people don't change the language so often, and so if after installation they have the right icon, that's OK for me.

thanks for that.

If someone else has another solution to solve at 100% this issue, don't hesitate to tell us.

Regards,
Alx
Alx is offline   Reply With Quote
Old 07-08-2009, 11:46 AM   #4 (permalink)
Registered Member
 
Join Date: Apr 2009
Posts: 47
Default

I am also going through the same problem. I would also appreciate some help on this topic!
JJGEight is offline   Reply With Quote
Old 07-09-2009, 09:39 AM   #5 (permalink)
Alx
New Member
 
Join Date: Jan 2009
Posts: 11
Default

Quote:
Originally Posted by JJGEight View Post
I am also going through the same problem. I would also appreciate some help on this topic!
I've written to Apple for that.
I already got an answer asking me more details and a sample project.

If they solve this issue, I'm gonna put the answer here.
Alx is offline   Reply With Quote
Old 08-19-2010, 11:16 AM   #6 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 28
Default

Alx,

Did you find a solution to this? I can't seem to localize the Icon.png app icon either.
mmilo is offline   Reply With Quote
Old 08-19-2010, 02:21 PM   #7 (permalink)
"Sorry, but I dont know."
 
Join Date: Dec 2009
Location: Switzerland (CH)
Age: 16
Posts: 214
Default

Try this:

- Rightclick on Icon.png
- Get Info
- General: Make File Localizable
mavrick3 is offline   Reply With Quote
Old 08-19-2010, 03:03 PM   #8 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 28
Default

Thanks but I already localized the file.

This seems to work for Default.png just fine (and other assets), just not Icon.png.

In my info plist file, "Icon.png" is specified as my CFBundleIconFile.
mmilo is offline   Reply With Quote
Old 04-07-2011, 09:34 AM   #9 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 5
Default Did apple answer?

Quote:
Originally Posted by Alx View Post
I've written to Apple for that.
I already got an answer asking me more details and a sample project.

If they solve this issue, I'm gonna put the answer here.
It is a pain. If apple answered you would you please tell us?

Thanks for advance.
abdalla is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 158,484
Threads: 89,092
Posts: 380,130
Top Poster: BrianSlick (7,091)
Welcome to our newest member, lavernwatts
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:49 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0