Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Localize Asset Catalogs

I know it's a new feature and this may not be possible, but I would like to be able to localize an Asset Catalog in different languages, to show a localized launch image. This was possible on XCode 4 simply localizing an image, but with an iOS7 app it not works. Do you know if that is possible?

like image 323
Antonio Giarrusso Avatar asked Sep 15 '13 16:09

Antonio Giarrusso


People also ask

What is an asset catalog?

An asset catalog is a type of file used to organize and manage different assets and image resolutions used by your app's user interface.

What is asset catalog Xcode?

An asset catalog, simply put, is a single folder in Xcode that you use to organize your app's images, icons, colors, and more. Instead of adding individual images to Xcode's file organizer, you add assets neatly organized in a single catalog.


1 Answers

I went the classic way. Just use single localized images and set up your plist correctly. The easiest way is to use one asset catalog, set everything up. Then open the application bundle and copy the correctly named files + the correct info.plist entries. (And of course remove the assets catalog afterwards) Result looks like this:

Info-plist:

info plist keys

Launch images filenames:

launch images filenames

(I needed all iPad orientations/sizes + all portrait iphone sizes + 7.0 specific sizes)

like image 86
calimarkus Avatar answered Sep 18 '22 12:09

calimarkus