|
Ant example source code file (translate.xml)
The translate.xml source code
<?xml version="1.0"?>
<project name="translate-test" default="test1" basedir=".">
<property name="input.dir" value="input"/>
<property name="output.dir" value="output"/>
<property name="expected.dir" value="expected"/>
<target name="setup">
<mkdir dir="${output.dir}/de"/>
</target>
<target name="test1" depends="setup">
<translate toDir="${output.dir}/de"
starttoken="@"
endtoken="@"
bundle="${input.dir}/resources"
bundlecountry="DE"
bundlelanguage="ger"
forceoverwrite="yes"
srcencoding="ISO8859_1"
destencoding="ISO8859_1"
bundleencoding="Cp1252">
<fileset dir="${input.dir}">
<include name="template.txt"/>
</fileset>
</translate>
</target>
<target name="cleanup">
<delete dir="${output.dir}" quiet="true"/>
</target>
</project>
Other Ant examples (source code examples)Here is a short list of links related to this Ant translate.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.