通过OAF实现RTF多语言

职责: Oracle XML Publisher 管理员 -->主页 -->模板 -->创建模板

1、定义rtf模板时

       在创建模板时,勾选可转换。 

             

  2、 创建rtf模板后,选择导出可转换内容,xlf文件,然后修改语言,加载转换内容

       

导出的为中文环境:

  <file source-language="zh-CN" target-language="zh-CN" ……..>
   <trans-unit id="24f18462" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
      <source>交付信息</source>
      <target>交付信息</target>
      <note>Text located: body/table</note>
   </trans-unit>

英文:

<file source-language="zh-CN" target-language="en-US" ……..>
  <trans-unit id="24f18462" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
    <source>交付信息</source>
    <target>Delivery Information</target>
    <note>Text located: body/table</note>
  </trans-unit>

台湾:

<file source-language="zh-CN" target-language="zh-TW" ……..>
   <trans-unit id="24f18462" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
      <source>交付信息</source>
      <target>交付信息</target>
      <note>Text located: body/table</note>
   </trans-unit>

 3、导入成功

 

转载于:https://www.cnblogs.com/wang-chen/p/5048608.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值