Re: Localizing validation error strings with Core Data
Re: Localizing validation error strings with Core Data
- Subject: Re: Localizing validation error strings with Core Data
- From: Dave Fernandes <email@hidden>
- Date: Mon, 11 Jun 2007 11:20:53 -0400
This is covered in the NSPersistentDocument Core Data Tutorial - at
least it is covered for NSPersistentDocument objects. Is that where
you have the problem?
On Jun 11, 2007, at 11:01 AM, email@hidden wrote:
Hello there,
It seems to be difficult to localize validation error strings using
the built-in mechanism of Core Data. I have succeeded to localize
the entity and attribute names by creating the Localizable.strings
file with the correct entries. But when I try to do this for the
error strings, it doesn't seem to work.
Here's an example:
"Property/name" = "Name";
"ErrorString/name is invalid" = "Name has to start with a letter";
I will see "Name is invalid" as the error message, but not the
localized error message. The documentation is not very clear on
this subject and my experiments are so far not successful.
Any help is appreciated!
Annard
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40utoronto.ca
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden