IOS: Add languages as Localizable.strings

前端 未结 3 1360
北恋
北恋 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:47

    You need to add in your Info Project the localizations (I can't add image sorry).

    And next you need to create a new file in your project named "Localizable.strings" and Localize this file in your identity menu.

    ++

    0 讨论(0)
  • 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

    0 讨论(0)
  • 2021-02-13 21:07

    Just click on your project in "Info" panel , where you can see "Localizations" and add the languages you want.

    0 讨论(0)
提交回复
热议问题