IOS: Add languages as Localizable.strings

前端 未结 3 1348
北恋
北恋 2021-02-13 20:09

I want to localize my app, and I add French and Spanish to the target properties other than English

\"enter

3条回答
  •  既然无缘
    2021-02-13 20:48

    If you go to the "Info" pane of your project, you'll see a panel that shows your Deployment Target, Configurations and also the current localizations that you support (including a checkmark for "Use Base Internationalization"). Base Internationalization, b.t.w., allows you to have a single storyboard file that has different string files populating the string fields in the storyboard. It works for iOS 6 and newer.

    When you start, it might look like this:

    The Info Pane before adding any localizations

    Here I've added Hindi as a language possibility:

    The Info Pane after adding Hindi

    And when you're done, you have the checkbox to choose from:

    And here's our new option

提交回复
热议问题