[Seaside] Re: Seaside and gettext not exporting domain strings
David Carlos Manuelda
stormbyte at gmail.com
Thu Jan 22 18:01:17 UTC 2015
David Carlos Manuelda wrote:
> I am following guide from https://code.google.com/p/seaside/wiki/Gettext,
> and also, downloaded Seaside-Gettext-Examples-pmm.4.mcz from monticello
> source http://www.squeaksource.com/Seaside30Addons.
>
> It seems a good source of learning gettext integration into seaside.
>
> To test the example, I just doit: WAGettextExample register, and enter to
> localhost:8080/gettext.
>
> It displays good, but when I try to export the domain strings, via
> evaluating WAGettextExample export, I only get pharo strings, and not the
> gettext domain strings present there.
>
> As it is an autoconfigurable example, and little enough, can someone point
> me in the right direction about what is happening?
By modifying a little the example, I noticed that if I send the "translated"
message to strings they get added to the .pot file and indeed it generates
the template.
But shouldn't it be the translate: function for that so I don't need to put
translated everywhere?
More information about the seaside
mailing list