Sometimes I would like to write a program to dump Gary's brain into a HelpSystem book :) Laurent On Mon, Feb 28, 2011 at 12:59 PM, Gary Chambers <gazzaguru2@btinternet.com>wrote:
Provides support for looking up Forms by name for presentation in the UI. Different forms can be registered for a name for different locales allowing images presented in the UI to be localised.
Typically used where images contain language dependent text.
E.g.
buttonForm := (NaturalLanguageFormTranslator localeID: Locale current localeID) translate: 'submit button'
Form translations are added like so:
(NaturalLanguageFormTranslator isoLanguage: 'en' isoCountry: 'gb') name: 'submit button' form: aForm
Regards, Gary
----- Original Message ----- From: "Stéphane Ducasse" < stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Saturday, February 26, 2011 5:56 PM Subject: Re: [Pharo-project] [COTDC] 19 - NaturalLanguageFormTranslator
this is a funny one Looks like a monty python one. ") On Feb 25, 2011, at 9:08 PM, laurent laffont wrote:
I don't know why I'm here.
Laurent.
On Thu, Feb 24, 2011 at 8:55 PM, laurent laffont < laurent.laffont@gmail.com> wrote: Today: NaturalLanguageFormTranslator
Comment Of The Day Contest - One Day One Comment Rules: #1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s). #2: If you cannot comment it, deprecate it. Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
Laurent