cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chitharanjan Das" <>
Subject Help with i18n
Date Thu, 31 Jan 2002 22:10:28 GMT
Hello Konstantin,
The following is the match description in site-map..
<map:match pattern="file">
  <map:generate src="{1}"/>
  <map:transform type="i18n">
    <parameter name="available_lang_1" value="en"/>
    <parameter name="available_lang_2" value="ru"/>
    <parameter name="src" value="translations/dictionary.xml"/>
  <map:transform src="stylesheet.xsl"/>
  <map:serialize />
The XML to be translated is 
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:i18n="">
  <elem title="main_title" i18n:attr="title">
    <i18n:text>Text to be translated</i18n:text>
Where and how do I specify the locale for the translation?
accordia, inc 
34347 Maybird Circle
Fremont, CA 94555
650 279 1137
The information contained in this communication is intended solely for
the use of the individual or entity to whom it is addressed and others
authorized to receive it. It may contain confidential or legally
privileged information. If you are not the intended recipient you are
hereby notified that any disclosure, copying, distribution or taking any
action in reliance on the contents of this information is strictly
prohibited and may be unlawful. If you have received this communication
in error, please notify us immediately by responding to this email and
then delete it from your system. Accordia Inc. is neither liable for the
proper and incomplete transmission of the information contained in this
communication nor for any delay in its receipt

View raw message