In article <5d6ed6b4.0310051724.300d3bdf RemoveThis @posting.google.com>,
vze35xda RemoveThis @verizon.net (Jim Schimpf) wrote:
> I'm localizing a Cocoa program and part of that is building a
> Localizable.strings file with an English version. This contains
> strings that are part of the program in the code like button labels
> that change and format strings for stringWithFormat methods. I am
> using PB 2.1 December 2002 and everything was working. Suddenly one
> of these string key/value pairs stops working. That is it will not be
> found. I use the key and it's not found in the bundle. The others
> are but this particular one is not.
>
> I have attempted a number of things, cleaning the project and
> re-building no change. Changing the key still nothing, re-arranging
> the Localizable.strings file and still nothing. I have replaced the
> macro NSLocalizedString() with the actual method calls and again no
> change, the value just is not found. As I said the other string
> key/value pairs still work but this one does not.
>
> Any suggestions of other things to try ?
This is often caused by a missing semicolon at the end of the line in
the .strings file, by missing quotation marks on the right or left side
of the '=' sign, or by having the wrong text for the key. Double-check
all of those and you'll hopefully find the problem.
-Eric
--
Eric Albert ejalbert RemoveThis @stanford.edu
http://rescomp.stanford.edu/~ejalbert/