You will need a file namedLocalizable.strings
that lives in yourEnglish.lproj
directory (or whatever localization directory is appropriate). It has this syntax:"BorkDown" = "BorkDown"; "Start Timer" = "Start Timer"; "Stop Timer" = "Stop Timer";That is, a key followed by a localized value.In your code, you can then use
NSLocalizedString()
or one of its variants:[statusItem setTitle: NSLocalizedString(@"BorkDown", nil)];The second argument is ignored by the function. Obstensively it is a/* comment */
in the strings file so that you can match the key back to what it is supposed to actually be.