[etoys-dev] Re: Need for translation in DrGeo
korakurider at gmail.com
Mon May 17 21:37:45 EDT 2010
On Tue, May 18, 2010 at 4:05 AM, Ricardo Moran <richi.moran at gmail.com> wrote:
> What is the usage of #translatedNoop currently? I see that it has an empty
> implementation so I guess it's just used to mark strings but when are those
> strings translated?
Yes, #translatedNoop is just marking string as translatable and let
GetTextExporter2 extract the string to POT. Actual translation occur
only in #translated. See "4.7 Special Case of Translatable Strings"
> I don't understand what you're saying about each string knowing its domain
> by marking it #translatedNoop.
The crazy idea was ...
Currently method body of #translatedNoop is empty. But in the
method translation domain for the string could be decided with sender
of #translatedNoop and could be stored in receiver string.
More information about the etoys-dev