[Pharo-project] [COTDC] 19 - NaturalLanguageFormTranslator

laurent laffont laurent.laffont at gmail.com
Mon Feb 28 13:33:26 CET 2011


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 at 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 at inria.fr>
> To: <Pharo-project at 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 at 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
>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20110228/58fb12ca/attachment.htm>


More information about the Pharo-project mailing list