cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chitharanjan Das" <c...@accordiasys.com>
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>
  <map:transform src="stylesheet.xsl"/>
  <map:serialize />
</map:match>
 
 
The XML to be translated is 
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:i18n="http://apache.org/cocoon/i18n/2.0">
  <elem title="main_title" i18n:attr="title">
    <i18n:text>Text to be translated</i18n:text>
  </elem>
</root>
 
Where and how do I specify the locale for the translation?
 
Regds,
Chiths
 
 
accordia, inc 
34347 Maybird Circle
Fremont, CA 94555
650 279 1137
cdas@accordiasys.com
 
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
 

Mime
View raw message