On May 2, 2010, at 5:52 PM, Michael Rueger wrote:
On 5/1/10 2:05 PM, Hilaire Fernandes wrote:
Stéphane Ducasse a écrit :
- If we want the gettext package to be loadable, the method String>>translated in core could be changed to return self, then the gettext packaged provided the translated version to effectively handle the translation.
but this would be an override.
Yes, is it a problem?
Yes, overrides in a core class are always a problem.
Another way to solve this would be to dispatch translated through NaturalLanguageTranslator which I guess would be completely replaced by the gettext package?
can you give a sketch example so that I the it? instaed of 'lkjhlk' translated NaturalLanguageTranslator translated: 'lkjhlk' ?
Maybe we should turn the translation related classes all into stubs that then can be replaced by either the current version (made loadable as a package) or the gettext one.
Michael
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project