Localization of the iPhone Settings.bundle

前端 未结 6 964
半阙折子戏
半阙折子戏 2021-02-18 21:12

For some reason I cannot get the Settings.bundle to recognize my additional languages. I must be missing something obvious, but I just cannot figure it out. Here\'s what I\'ve

6条回答
  •  长情又很酷
    2021-02-18 21:38

    After some repeated tries to activate localization,following steps worked for me:

    1. Close xcode
    2. Drag and duplicate the settings bundle onto the desktop (or wherever)
    3. Open bundle contents
    4. Drag Root.strings into the en.lproj folder
    5. Duplicate the en.lproj folder and rename to whatever language you want (using 2-letter code ie fr.lproj)

    6. Replace the original settings bundle with the new one(without opening xcode).

    7. Now Open xcode and the new files and folders should be there

    Now delete the older app and run xcode,Works fine in simulator and on device.

    NOTE:Closing xcode,updating of duplicated setting bundle outside xcode and replacing updated back only will help.

提交回复
热议问题