Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Localized Interface builder storyboard doesn't work in Xcode 10

After updated to Swift 4.2 I tested new app version on iPhone where is a main language is Russian. Region is also Russia, but app using English Interface builder storyboard (Base). Even I have Russian one.

enter image description here

I also have Localizable strings for UIAlertController.

enter image description here

And it works. I mean, when I use my app on my iPhone (Russian language. Region is Russia) then I see English Interface builder storyboard, but alerts on Russian.

I didn't set language in scheme.

enter image description here

enter image description here

I even created new project there made 2 languages. Same problem.

Help me please where is a problem. Why iOS doesn't wanna see necessary Interface builder storyboard

like image 264
Laura Manukyan Avatar asked Jan 27 '23 08:01

Laura Manukyan


1 Answers

Just FYI. I had the same issue and I accidentially removed a semicolon in the Storyboard translation file. Syntax errors in the Localizeable.strings will prevent Xcode from compiling, but NOT in in the storyboard . This will cause XCode to ignore this file and just skip this translation.

like image 78
Stefan Avatar answered Feb 13 '23 07:02

Stefan