[Cocoon 2.0.3, JDK 1.3.1_02, Tomcat 4.0.4]

What is the suggested way to translate a document fragment with the
I18nTransformer?

I would like not to chunk the content in smaller i18n:text elements, as the
message catalogue would get harder to understand and translate.

For instance:

  <descript-long>
    <i18n:text>
      some content with specific <dict-entry>tags</dict-entry>,
      which is not a text element, but a <ref xlink:href="...">document
fragment</ref>.
    </i18n:text>
  </descript-long>

I would like to define a document fragment within a message catalogue:

  <message key="doc0018-descript-long">
      some content with specific <dict-entry>tags</dict-entry>,
      which is not a text element, but a <ref xlink:href="...">document
fragment</ref>.
  </message>

As of Cocoon 2.0.3, only the first text element ("some content with
specific") of the fragement document gets thru the I18nTransformer.

Is there a simple solution that I would have overlooked?

Olivier Lange


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to