DeyaEldeen
DeyaEldeen

Reputation: 11817

localized launchScreen.storyboard in XCode 8 are not responding to device language change

I'm trying to have the launchScreen.storyboard to change according to the language of the device.

I made storyboards with each one having a different background color for UIImageView at the top see sample...

sampleStoryBoard

these storyboards are localized versions of the storyboard, so each one would be chosen according to the language of the device

storyboards

the problem is :- it always shows the english version for example when I switch the language of the iPhone's Simulator to Arabic, how can I make each one show up for the language it's localized for?

Upvotes: 2

Views: 3052

Answers (2)

Kamil Szostakowski
Kamil Szostakowski

Reputation: 2163

Unfortunatelly, you won't be able to achieve this. Launch screens are static and it's content is not a subject to localization.

Refering to the Apple human interface guidelines

Avoid including text on your launch screen. Because launch screens are static, any displayed text won’t be localized.

This piece of storyboard was intended to save you from creating a separate launch image for each screen resolution. iOS doesn't translate launch screen storyboards as it didn't give you a way to provide launch image for each of the supported languages.

However, you can find some workaround in this post.

Upvotes: 9

Deepak Kumar
Deepak Kumar

Reputation: 39

Just to be sure, have you set support for those languages in Project settings(under Localizations) ?

Upvotes: 0

Related Questions