Use Base Internationalization issue with multiple storyboard - Xcode 12.4 - Swift 5 - localization

I am facing an issue while doing internationalization in Xcode 12.4 with multiple storyboards.
Example: I have 2 storyboards 1. Main.storyboard, 2. Settings.storyboard as shown below -
Now when I am doing localization, I only get options for Main.storyboard and LaunchScreen.storyboard as below -
And after adding language, shows for localization file for Main.storyboard and LaunchScreen.storyboard, not for Settings.storyboard
Please help with how to add Settings.storyboard file for localization while adding language.

Related

Localizing a XIB, different method on Xcode 6

On previous versions of Xcode, when you localized a XIB it would create copies of that XIB on the language folders. Now, when you do the same thing, Xcode created localized strings for every language.
My question is: will this method work on iOS 7 if I compile my target for that version or will this just work for iOS 8?
It will most likely work but there's a few cases where it won't.
A storyboard or XIB will not localize correctly if all of the following three conditions are true:
The storyboard or XIB uses size classes.
The base localization and the build target are set to Universal.
The build targets iOS 7.0.
(details in the release notes page 32)

Illegal configuration in Xcode [duplicate]

I am using Xcode 6(6A313) to develop an example app (use objective-c), follow the book IOS Programming 4 edition Big Nerd Ranch that is made to work with Xcode 5 however this basic app that has only 2 labels an 2 bottoms get a compile error "ViewController.xib: error: Illegal Configuration: Launch screens may not have connections." when i connect the outlet property with the view controls using Interface Builder.
Anyone has idea whats wrong?
Thank's in advanced
The ability to use a nib or storyboard instead of a launch image is new in Xcode 6, but the view in your launch storyboard can't have outlets.
It seems that you have outlets in the file that is being used for your launch screen. Xcode 6 template projects will now create two files - main.storyboard and LaunchScreen.xib.
Either remove the outlets from LaunchScreen.xib or go to your target and remove the value from the "Launch Screen File" field -

Storyboard not localizing when built for ios 7

I have my entire project set up with a single Storyboard with autolayout complete for iOS 8. My project also targets iOS 7. In interface builder I believe that I accidentally clicked some setting and now at run-time the app does not load the localized strings when the single file is built for iOS 7.
In the file inspector of the Storyboard if I have the file set to build for iOS 8 everything localizes fine but if I set it to build to iOS 7 then no localized strings load at all.
Note: If the storyboard is set to build for iOS 8 and I attempt to run the app for iOS 7 it immediately crashes with "Could not instantiate class named UIStoryBoardShowSegueTemplate"
I had the same problem and already asked it here: Xcode 6 does not localize Interface Builder
The release notes for Xcode 6 covers this:
Localization A storyboard or XIB will not localize correctly if all of the following three conditions are true: The storyboard or XIB uses size classes. The base localization and the build target are set to Universal. The build targets iOS 7.0.
set your Storyboard interface builder document, "Builds for" to iOS 7 not iOS8

XCODE 6 (6A313) Compile Error using Outlets

I am using Xcode 6(6A313) to develop an example app (use objective-c), follow the book IOS Programming 4 edition Big Nerd Ranch that is made to work with Xcode 5 however this basic app that has only 2 labels an 2 bottoms get a compile error "ViewController.xib: error: Illegal Configuration: Launch screens may not have connections." when i connect the outlet property with the view controls using Interface Builder.
Anyone has idea whats wrong?
Thank's in advanced
The ability to use a nib or storyboard instead of a launch image is new in Xcode 6, but the view in your launch storyboard can't have outlets.
It seems that you have outlets in the file that is being used for your launch screen. Xcode 6 template projects will now create two files - main.storyboard and LaunchScreen.xib.
Either remove the outlets from LaunchScreen.xib or go to your target and remove the value from the "Launch Screen File" field -

Tab disappears when changing language in iOS

One of the tabs in my UITabBar disappears when I change the language of my iOS Simulator to Norwegian. Why is this? I have created the app with Version 4.6.3 of XCode.
There could be a lot of reasons for this. You need to provide more information. How do you define your UITabBar? Are you using Storyboards or Nibs? Your Norwegian localized Storyboard / Nib might have only 1 tab defined while your English version might have three tabs.
I have found the problem.
When I tried to get my app translated I added my own languange in the Localizations section under Project-Info.
When I did this there was an extra .storyboard file created for the spesific language, so when I change the storyboard I had in xCode that did not change the second storyboard created for my language. I found my second storyboard in the directory of my app, and deleted it, and now everything works fine.
So, if your app is weird with one spesific language, it may have a spesific storyboard that does not change automatic.

Resources