Is it possible to update a localized storyboard's strings?

前端 未结 14 1316
星月不相逢
星月不相逢 2020-11-28 00:13

I localized a part of my application with creating a base.lproj storyboard and 3 string files for it. It was a month ago and after that I added new view controller to app, b

14条回答
  •  隐瞒了意图╮
    2020-11-28 00:58

    I got a huge storyboard with a lot of strings there. Two languages base english and another arabic. The task was to add some fields and labels to storyboard and add localization for them without any scripts and NSLocalizableStrings.

    For me helped next:

    First: Ensure, you have git to prevent unexpectable changes.

    1. Go to target screen in xcode and press Editor -> Export For Localization.... Save the ar.xliff file somewhere.
    2. Download XLIFF Edtior.
    3. Open ar.xliff file and make changes.
    4. Import this file in xcode. Done! You have updated storyboard strings file.

提交回复
热议问题