10

I am working on an app which is in 12 languages. Each language will have different splash screen. I have tried almost all possible ways to add splash screen images (Default.png) and it is working fine in all the cases. But, when I try to upload it on App store, it is giving me below error(attaching screenshot):-

Error at the time of validating the app

After that, I tried other possible solutions, but none of them worked for me. The main problem is showing in below image:-

Launch images

When I try to select any image from browse pop-up, it won't display in above list and displays same message ("No image specified"). I have added all the images in my bundle.

Images added in the bundle
Could anyone please guide me where I am doing mistake?
Note:- I am using Xcode 5.1.

Piyush Dubey
  • 2,416
  • 1
  • 24
  • 39

4 Answers4

5

Here's how to localize your Launch.xib screen:

  1. Create InfoPlist.strings file. (File,New,Resource,Strings)

  2. Localize it and select your languages

  3. For e.g. the Spanish version, add your launch screen key and name for the Spanish version of your Launch screen

    "UILaunchStoryboardName" = "Launch_es";

  4. Copy your existing Launch.xib to Launch_es.xib, and change the text and/or images to the Spanish translations or Spanish-named images.

Community
  • 1
  • 1
Matt H
  • 6,422
  • 2
  • 28
  • 32
4

This addresses the problem. Is there a way to have a different Default.png (splash image) for different languages/locales in iOS?

Pretty much put different images in each localization folder.

Community
  • 1
  • 1
mginn
  • 16,036
  • 4
  • 26
  • 54
1

I had the same error. I fixed it by renaming all the splash images (eg: iphone_5_en, iphone_5_it, etc...) and thent I localized the infoPlist.strings file. In the infoPlist.strings file i changed the value of the splash image keys UILaunchImageFile and UILaunchImageFile~ipad.

Jacopo Berta
  • 265
  • 2
  • 14
  • My app is universal app and is in 12 languages. iPad app is in both orientation. So, do you think it is feasible to rename around 100+ images? Can't I go with any other way? – Piyush Dubey May 29 '14 at 13:36
  • How did you even get this to work if you renamed the images something like iphone_5_en? The launch images have to be named `Default.png` etc. – Popeye May 29 '14 at 13:49
0

In some cases when you want to localize your app for one of the languages, you could use localized InfoPlist.strings. Note the name is case sensitive!

InfoPlist.strings

You could create this file InfoPlist.strings -> localize -> change languages.

Inside of this file for each localization you could add next Localizable properties:

"CFBundleDisplayName" = "AppName";    
"CFBundleName" = "AppName";  
"UILaunchStoryboardName" = "Launch Screen";

localized:

"CFBundleDisplayName" = "arAppName";      
"CFBundleName" = "arAppName";   
"UILaunchStoryboardName" = "Launch Screen_ar";

When the app launches, this data will be used for the launch screen and app name properties.

"UILaunchStoryboardName" = "Launch Screen_arabic";

After that, you can create arLaunchScreen, enLaunchScreen, etc.

Brian
  • 14,610
  • 7
  • 35
  • 43