Moving localization folders in Xcode 4

前端 未结 4 1422
情书的邮戳
情书的邮戳 2021-01-06 20:41

I\'ve recently upgraded from Xcode 3 to Xcode 4.2, and migrated an existing iOS apps to use this new version. This app is localized, and I now want to add another language.

4条回答
  •  既然无缘
    2021-01-06 21:33

    This way works on Xcode 5.1 also (Greek example):

    1. Create Resources/el.lproj folder within Localizable.strings file in Finder
    2. Open your project file in Xcode and right-click on Resource folder
    3. Click on "Add File to..." context menu item
    4. Select Localizable.strings file from Resources/el.lproj folder -> OK. Greek Localizable.strings automatically will be added to Localizable.strings files.

    You can use the same way to add localization for xib files.

提交回复
热议问题