Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multi language localization storyboard support issue

I have an issue with my project storyboard. I have added two localizations more to storyboard, so now I have three storyboards: spanish, english and basque. All of them depending from the main one:

enter image description here

Now I have the issue that I have to update all changes manually to all to storyboards, because if I do changes to MainStoryboard, the others are not updated with this changes.

How can I modify all storyboards at the same time?

Thanks

like image 670
theomen Avatar asked Jun 11 '12 15:06

theomen


People also ask

What is CFBundleDevelopmentRegion?

"CFBundleDevelopmentRegion (String - iOS, OS X) specifies the native region for the bundle. This key contains a string value that usually corresponds to the native language of the person who wrote the bundle.

How do I create a localizable string in Xcode?

To add Localizable. strings file, go to File->New->File , choose Strings File under Resource tab of iOS, name it Localizable. strings , and create the file. Now, you have a Localizable.

How do you perform localization in iOS Swift?

Click on iOS->App/Single View App->Next. Name your project and select the language as Swift. Select a desired location and click on Create. To start with Localization, click on your Project Name -> go to Info Tab -> Under Localizations, click on the '+' button.


1 Answers

Here is a really great tutorial for automating changes from one storyboard localization to all the others:

http://danielsaidi.wordpress.com/2012/08/20/localization-in-ios/

http://www.youtube.com/watch?v=cF1Rf02QvZQ

From what I gather, the solution involves adding a python script to the end of the build that syncs the storyboards and generates string files.

Go to the links for a more detailed solution. They said it better than I can.

like image 82
Scott Marchant Avatar answered Sep 28 '22 01:09

Scott Marchant