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 protected]> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]