<!-- ==================================================================== -->
<project name="lang-targets">
-<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, fr, ja, ko, pt-br, ru"/>
-<target description="- builds all zip download packages" name="zip-all" depends="zip-de, zip-en, zip-es, zip-fr, zip-ja, zip-ko, zip-pt-br, zip-ru"/>
-<target description="- builds all war download packages" name="war-all" depends="war-de, war-en, war-es, war-fr, war-ja, war-ko, war-pt-br, war-ru"/>
+<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, fr, ja, ko, pt-br, ru, tr"/>
+<target description="- builds all zip download packages" name="zip-all" depends="zip-de, zip-en, zip-es, zip-fr, zip-ja, zip-ko, zip-pt-br, zip-ru, zip-tr"/>
+<target description="- builds all war download packages" name="war-all" depends="war-de, war-en, war-es, war-fr, war-ja, war-ko, war-pt-br, war-ru, war-tr"/>
<!-- German -->
<!-- ==================================================================== -->
<war.generic lang="ru"/>
</target>
+<!-- Turkish -->
+<!-- ==================================================================== -->
+<property value=".xml.tr" name="inputext.tr"/>
+<property value=".html.tr" name="outputext.tr"/>
+
+<target description="- builds Turkish HTML files" name="tr">
+ <html.generic lang="tr"/>
+</target>
+<target unless="-off.tr.done" depends="metafiles" name="-off-tr">
+ <dependencies.offline dir="_off" style="zip" lang="tr"/>
+ <offline.generic dir="_off" style="zip" lang="tr"/>
+ <property value="yes" name="-off.tr.done"/>
+</target>
+<target description="- builds the Turkish zipped download package" depends="-off-tr" name="zip-tr">
+ <zip.generic lang="tr"/>
+</target>
+<target description="- builds the Turkish Konqueror Web Archive" depends="-off-tr" name="war-tr">
+ <war.generic lang="tr"/>
+</target>
+<target description="- builds the Turkish CHM file" name="chm-tr">
+ <chm.generic lang="tr"/>
+</target>
+<target description="- builds the Turkish nroff files" name="man-tr">
+ <nroff.generic lang="tr"/>
+</target>
+
<!-- XML validation. -->
<!-- If you get an error during transformation, this task may be useful -->
<!-- because it mostly gives you a hint, where you forgot the </p> ;-) -->
<include name="**/*.xml.ko"/>
<include name="**/*.xml.pt-br"/>
<include name="**/*.xml.ru"/>
+ <include name="**/*.xml.tr"/>
<patternset refid="excludes"/>
<patternset refid="scratch"/>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+
+<!-- Read the localized messages from the specified language file -->
+<xsl:variable name="message" select="document('lang/tr.xml')/language/messages/message"/>
+<xsl:variable name="doclang">tr</xsl:variable>
+<xsl:variable name="allmodules" select="document('xsl/util/allmodules.xml')/items/item[@lang=$doclang]"/>
+
+<!-- some meta information have to be passed to the transformation -->
+<xsl:variable name="output-encoding">UTF-8</xsl:variable>
+<xsl:variable name="is-chm" select="false()"/>
+<xsl:variable name="is-zip" select="false()"/>
+
+<!-- Now get the real guts of the stylesheet -->
+<xsl:include href="xsl/common.xsl"/>
+
+</xsl:stylesheet>
\ No newline at end of file