cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "depub2" <>
Subject Re: i18n transformer: how to translate cocoon forms messages
Date Thu, 03 Feb 2005 21:48:00 GMT
Hi Ellis,

My sitemap excerpt is below, but it does not appear to be working:

    <map:transformers default="xslt">
      <map:transformer name="forms"
FormsTemplateTransformer" logger="forms"/>

      <map:transformer name="simpleform"
        <input-module name="request-param"/>

      <map:transformer name="i18n"
        <catalogues default="other">
          <catalogue id="other" name="OtherMessages" location="messages"/>
          <catalogue id="forms" name="FormsMessages" location="messages"/>

I've also tried setting default="forms" - no success. What am I missing??



The messages specified by the forms transformer explicitly specify the
i18n catalogue to be one named 'forms'; define this catalogue in your
sitemap and your widgets should pick up the i18n (use a cocoon-view to
have a look at the output of the forms transformer if you want to see
what's happening). helps, but it's for the
old 'Woody' forms stuff, so like pretty much of the rest of the
documentation, is a starting point rather than the gospel... <sigh>


On 31 Jan 2005, at 18:12, depub2 wrote:

> Hi,
> I am using the i18n transformer successfully to
> internationalize a cocoon
> application; however, I am using the cocoon forms "upload"
> widget which adds
> a "Browse" button which does not seem to be localized. Also, there are
> localized messages for all of the validation/help pop-up
> window messages in
> the cocoon (forms) distribution but I do not understand
> how to get that working, and the
> samples do not show how to do this either. Any pointers?
> David

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message