Re: D2w - toMany relation
Re: D2w - toMany relation
- Subject: Re: D2w - toMany relation
- From: Pierre Gilquin <email@hidden>
- Date: Thu, 15 Jan 2015 16:26:58 +0100
Thanks for all this info. I will try it.
I wonder also how to localize the title of the component (i.e
"Select embedded ZZZZ") and the labels for property key ?
Pierre
On 15. 01. 15 13:16, Theodore Petrosky
wrote:
Localization is handled by a Localizable.strings file.
for instance create a folder in your Resources folder called English.lproj in there a file called Localizable.strings. now you can do things like:
"ERD2W.advancedFindButtonLabel" = "Advanced...";
"PropertyKey.meetingAttendees" = "Attendees";
"PropertyKey.meetingLocation" = "Location”;
then you can create a folder French.lproj in your Resources folder with a file Localizable.strings were you would put the French version (then Polish, Italian, etc)
now if the user’s language is set to English they get the English localizations and appropriately the other languages that you create will just work.
Is this what you are looking for?
BTW, in the language folder you also put a file (in each language) ValidationTemplate.strings and you can do things like:
{
"UniqueConstraintException.loginname_idx" = "Please choose a different username (It must be unique).";
"Quote.quoteAmount"="You must enter a dollar amount in the format 123.00 (you entered @@escapedValue@@)!";
}
On Jan 15, 2015, at 2:26 AM, Pierre Gilquin <email@hidden> wrote:
One more question :
is there a way to change the button text ? and in general, how to localyze an d2w app ?
Thanks
Pierre
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden