• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: D2w - toMany relation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2w - toMany relation


  • Subject: Re: D2w - toMany relation
  • From: Theodore Petrosky <email@hidden>
  • Date: Thu, 15 Jan 2015 07:16:14 -0500

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


  • Follow-Ups:
    • Re: D2w - toMany relation
      • From: Pierre Gilquin <email@hidden>
References: 
 >D2w - toMany relation (From: Pierre Gilquin <email@hidden>)
 >Re: D2w - toMany relation (From: Flavio Donadio <email@hidden>)
 >Re: D2w - toMany relation (From: Pierre Gilquin <email@hidden>)
 >Re: D2w - toMany relation (From: Fabian Peters <email@hidden>)
 >Re: D2w - toMany relation (From: Pierre Gilquin <email@hidden>)

  • Prev by Date: Re: WOWODC 2015 Schedule
  • Next by Date: RE: WOLips for Eclipse 4.4 binary
  • Previous by thread: Re: D2w - toMany relation
  • Next by thread: Re: D2w - toMany relation
  • Index(es):
    • Date
    • Thread