Marking some XIB/Storyboard strings as not localizable

后端 未结 3 823
孤城傲影
孤城傲影 2020-12-03 14:13

I am using Base Internationalization for XIB/Storyboard files and the \"Export for Localization\" method using XLIFF files for translators.

I have some labels, butto

3条回答
  •  生来不讨喜
    2020-12-03 14:45

    This is now possible using the BartyCrouch command line utility which I recently wrote to solve this problem (see installation instructions in my answer on that thread).

    BartyCrouch runs ibtool for you and does additional processing on top of its resulting .strings file. It will exclude views from translation if you include #bc-ignore! into your value or comment within your base internationalized Storyboard/XIB file.

    Please check out out the related section within the README on GitHub for detailed information.

提交回复
热议问题