Localization of the iPhone Settings.bundle

前端 未结 6 1001
半阙折子戏
半阙折子戏 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:32

    I'll go ahead and answer my own question since I solved the problem myself through testing and failing. Hopefully this will help someone else in the future.

    First, I think my Root.plist file may have been corrupted. I'm not exactly sure why, but I completely deleted the Settings.bundle, and re-created it to be sure.

    Second, and perhaps most importantly, the main issue was the "key" in the root.strings file didn't match to the "key" field in the Root.plist, it actually matches the "Title" field.

    Once I made those changes to the Root.strings file, it all started to work.

提交回复
热议问题