<!-- ==================================================================== -->
<project name="lang-targets">
-<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, fr, ja, ko, 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-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-ru"/>
+<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"/>
<!-- German -->
<!-- ==================================================================== -->
<chm.generic lang="ko"/>
</target>
+<!-- Portuguese -->
+<!-- ==================================================================== -->
+<property value=".xml.pt-br" name="inputext.pt-br"/>
+<property value=".html.pt-br" name="outputext.pt-br"/>
+
+<target description="- builds Portuguese HTML files" name="pt-br">
+ <html.generic lang="pt-br"/>
+</target>
+<target unless="-off.pt-br.done" depends="metafiles" name="-off-pt-br">
+ <dependencies.offline dir="_off" style="zip" lang="pt-br"/>
+ <offline.generic dir="_off" style="zip" lang="pt-br"/>
+ <property value="yes" name="-off.pt-br.done"/>
+</target>
+<target description="- builds the Portuguese zipped download package" depends="-off-pt-br" name="zip-pt-br">
+ <zip.generic lang="pt-br"/>
+</target>
+<target description="- builds the Portuguese Konqueror Web Archive" depends="-off-pt-br" name="war-pt-br">
+ <war.generic lang="pt-br"/>
+</target>
+
<!-- Russian -->
<!-- ==================================================================== -->
<property value=".xml.ru" name="inputext.ru"/>
<include name="**/*.xml.fr"/>
<include name="**/*.xml.ja"/>
<include name="**/*.xml.ko"/>
+ <include name="**/*.xml.pt-br"/>
<include name="**/*.xml.ru"/>
<patternset refid="excludes"/>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed 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="ISO-8859-1" 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/pt-br.xml')/language/messages/message"/>
+<xsl:variable name="doclang">pt-br</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">ISO-8859-1</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