About String>>translated

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

About String>>translated

Guillermo Polito
Hi!  I was looking at String >> translated and i've found the following:

String>>translated
"answer the receiver translated to the default language"
    ^ NaturalLanguageTranslator translate: self

NaturalLanguageTranslator class>>translate: aString
    ^ aString

Sooooo,  we have NaturalLanguageTranslator hardcoded, and it does nothing :).

What do you think about enhance it to allow multi-language in pharo?  How would you do it?  The most simple way I'm thinking is a set of dictionarys...  And a browser to browse them, he.

Cheers,
Guille

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: About String>>translated

Levente Uzonyi-2
On Fri, 9 Jul 2010, Guillermo Polito wrote:

> Hi!  I was looking at String >> translated and i've found the following:
>
> String>>translated
> "answer the receiver translated to the default language"
>    ^ NaturalLanguageTranslator translate: self
>
> NaturalLanguageTranslator class>>translate: aString
>    ^ aString
>
> Sooooo,  we have NaturalLanguageTranslator hardcoded, and it does nothing
> :).

IIRC this feature was removed from Pharo, this stub is probably there to
keep compatibility with external packages. IIRC Gjallar used it to support
multiple languages.


Levente

>
> What do you think about enhance it to allow multi-language in pharo?  How
> would you do it?  The most simple way I'm thinking is a set of
> dictionarys...  And a browser to browse them, he.
>
> Cheers,
> Guille
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: About String>>translated

hilaire
In reply to this post by Guillermo Polito
CONTENTS DELETED
The author has deleted this message.