NSLocalizedString() doesn't work
NSLocalizedString() doesn't work
- Subject: NSLocalizedString() doesn't work
- From: Michael Becker <email@hidden>
- Date: Mon, 22 Mar 2004 18:16:34 +0100
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.