Skip navigation

Selection of Localizable.strings and .strings file naming?

281 Views 1 Reply Latest reply: Jan 5, 2013 9:49 PM by red_menace RSS
notarysojac Calculating status...
Currently Being Moderated
Jan 3, 2013 9:35 AM

Hi Apple Developer Folks,

 

In the process of embedding Internalization for strings in my project, I referred to the "InternationalMountains" sample code project.

 

In that project there are three languages supported, English, French and Chinese.

 

What I do not understand is why all three Localizable.strings files have been checked in Localization section of the File Inspector.

 

This is the case for the other two such files, as well. 

AllThreeBoxes.jpg

(See the full sized image at http://www.drake.org/images/AllThreeBoxes.jpg )

 

Also, I have one other question:  "What is the suggested mechanism for controlling the NAMING of the Localizable.strings files?"

 

If I wanted to name the files something like "StandardApp.strings" or "ProApp.strings" - where and how would that be accomplished?

 

As it is, if the files are not named "Localizable.strings" - the NSLocalizedString(key, comment); calls do not work as intended.

 

Thanks very much!

Xcode, iOS 6

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.