Pages

Friday, January 4, 2013

Selection of Localizable.strings and .strings file naming?


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. 



(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!


View the original article here

0 comments:

Post a Comment