views:

27

answers:

1

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 got:

Project Structure in XCode:

XCode Screen Shot

Root.plist file:

Root.plist file

French Root.strings file

french Root.strings file

From everything I've read, I believe the project structure is right. The StringsTable in the Root.plist matches the name of the individual .strings files, and the Key for each item in the Root.plist has a match in the .strings files as well.

Why don't I see French text in my settings when I change the default iPhone language?

Thanks in advance!

+1  A: 

Okay, I'll go ahead and answer my own question since I solved the problem through trial and error. 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, I discovered the main issue here. The "key" in the root.strings file doesn't match to the "key" field in the Root.plist. It matches the "Title" field. That makes no logical sense at all, but I've confirmed this to be a fact. Once I made those changes to the Root.strings file, it all started to work.

Axeva