[Seaside-dev] Seaside-Gettext

Philippe Marschall philippe.marschall at gmail.com
Sat May 21 15:19:47 UTC 2011


2011/5/21 Johan Brichau <johan at inceptive.be>:
> Hi,
>
> I am using Seaside-GetText and noticed that the 'pot' template exporter was not picking up the strings to which #seasideTranslated is sent.
> This message is handy for translating attributes, while the #translate: message is targeting the inner text of a markup node. For example:
>
> html jQuery this editable
>        ...
>        submit: 'ok' seasideTranslated;
>        cancel: 'cancel' seasideTranslated;
>        ...
>
> So, I went ahead and added support to the appropriate method (see code below). Is there any change of seeing this in the distributed package?
> And if I can help to do that, let me know.

Done, let me know if it works for you. I also integrated the change
from Panu Suominen (lazy translated strings) and wrote a small bit of
documentation [1]. Thanks for the fix.

 [1] http://code.google.com/p/seaside/wiki/Gettext

Cheers
Philippe


More information about the seaside-dev mailing list