Moving localization folders in Xcode 4

前端 未结 4 1401
情书的邮戳
情书的邮戳 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:26

    Here's a way how to solve it w/o editing .pbxproj file (Xcode 4.6.3):

    1. select localization parent file (Localizable.strings)
    2. Utility pane > Identity and Type > under Location (Relative to Group) choose path icon and set required new location for localization files
    3. Finder > move all your en.lproj, fr.lproj, etc subfolders to that chosen folder

    UPD: doesn't work in Xcode 8 :(

提交回复
热议问题