• 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: Reusable translated button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reusable translated button


  • Subject: Re: Reusable translated button
  • From: Timo Hoepfner <email@hidden>
  • Date: Mon, 21 Aug 2006 19:18:22 +0200


Am 21.08.2006 um 17:19 schrieb Fabrice Pipart:

I am trying to make a reusable component to have buttons translated.
The idea is to just provide a key to the button that will take care to find the translation in the .strings
This looks like Chuck's "LocaleString" but for buttons.


You could use Project Wonder with it's ERXLocalizer for that. Then you can bind to e.g.

session.localizer.your_key

and it will be translated automagically based on what you specified in your

Resources/English.lproj/Localizable.strings
Resources/German.lproj/Localizable.strings
...

The equivalent to "LocaleString" is probably "ERXLocalizableString".

It has a lot more stuff in there like pluralization, localizable templates, where dynamic values can be mixed with localized strings, etc.

Timo


 _______________________________________________
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: Reusable translated button
      • From: Fabrice Pipart <email@hidden>
References: 
 >Reusable translated button (From: Fabrice Pipart <email@hidden>)

  • Prev by Date: Re: Reusable translated button
  • Next by Date: Re: help with mysql
  • Previous by thread: Re: Reusable translated button
  • Next by thread: Re: Reusable translated button
  • Index(es):
    • Date
    • Thread