Universal application with localization - screensaver

I have a universal application with some localization. My problem is with screensaver screens.

I need 6 screensavers. iPad, iPhone, iPhoneRetina (in English) and iPad, iPhone, iPhoneRetina (in local language)

I have a file for iPad English Splash called "Default.png". When I select this file in the project navigator, I can add a localized version by clicking the “+” sign. As a result, I have 2 files: Default.png (English) and Default.png (Local Lang) So far, everything is in order.

But when I try to add the file "Default ~ iphone.png" to the project, it does not localize. Xcode crashes when I click on the + sign.

What is the correct way to add bookmarks 6 (3 devices x 2 languages) to the project?

0
source share
3 answers

If you want to add them without Xcode crashing, you can use this trick:

Close your project. Go to the project folder in Finder, create (if they are not already there) the en.lproj, es.lproj, ... folders you need in the right place, and place the localized images in them.

Then open your project, go to the project information panel, delete all possible localizations (saving files when requested), then add these localizations back (still in the project properties).

Then they will be shown as a charm in the file explorer tree.

+1
source

You need to export localized images from your image editor with exactly the same names as in English. Then drag these files into the de.lproj group in Xcode.

:

  • Photoshop, 3 .pngs
  • PSD
  • 3 .png
  • local-lang.lproj grouping/ Xcode
0

I realized that although Xcode crashes, it somehow adds localized splash screen images to the project.

I just kept repeating the procedure and resetting xcode every time. Finally I got what I needed.

0
source

All Articles