Re: NSLocalizedString() doesn't work
Re: NSLocalizedString() doesn't work
- Subject: Re: NSLocalizedString() doesn't work
- From: Robert Cerny <email@hidden>
- Date: Mon, 22 Mar 2004 18:48:14 +0100
Hi,
just a simple question, why didn't you create Localizable.strings using
the usual way?
Robert
On 22.3.2004, at 18:16, Michael Becker wrote:
Hi!
Trying to localize my application, here's what I did:
- Added a new empty file to the project, named it "Localizable.strings"
- Added a localization variant to the file, so now I have the English
and the German version
- Converted both versions to "Unicode (UTF-8)"
Now using NSLocalizedString(@"Key", nil), I get this error:
004-03-22 18:11:54.804 PhotoClient[2038] CFLog (0):
CFPropertyListCreateFromXMLData(): plist parse failed; the data is
not proper UTF-8. The file name for this data could be:
/Users/michaelbecker/Business/iplabs/PhotoClient/build/
PhotoClient.app/Contents/Resources/Localizable.strings
The parser will retry as in 10.2, but the problem should be corrected
in the plist.
My Localization.strings is no plist. I never knew it was supposed to
be one... So right now I am a little lost.
I have no clue what this means :-( I've re-checked everything
(according to Aaron Hillegass's "Cocoa Programming for Mac OS X" I
should be fine...)
Bye,
Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.