How to extend Localization for new user facing text in IB?

Hello,


I am working on the next version of my app and I have new strings in both IB and in code that will be user facing text.


To support localisation for new strings generatred in code is simple. But how do I supply localized strings for text in storyboard without having to re-generate the .strings files for each storyboard or xib in my project?


Thank You.

Neerav

Hi ace.neerav,


I highly recommend you check out Xcode's import/export feature, which allows you to export translations into an .xliff file that you can send to translation without having to worry about maintaining individual .strings files yourself.


This can be done by selecting your project file in Xcode, then clicking on Editor -> Export for Localization...


When re-importing the translated files through the same menu, .strings files will be either automatically updated or generated for you.


There's also a great session (that's a couple of years old at this point but still very relevant) that covers this: https://developer.apple.com/videos/play/wwdc2014/412/


Hope this helps!

- w

How to extend Localization for new user facing text in IB?
 
 
Q