Sorry, I made a mistake here... I forgot to translate the "language" attribute on "localization" tag... (thanks Fernando for your observation)...
Now the pages compiled properly...
The correct file is attached in this mail...
Regards,
Diego
Diego do Nascimento Feitosa escreveu:
Hi Steph,
Here is the translated file...
I tried again and got some more errors...
Here is the output:
root@appserver:~/php-gtk-doc# autoconf
root@appserver:~/php-gtk-doc# ./configure --with-lang=pt_BR
loading cache ./config.cache
checking for xsltproc... (cached) /usr/bin/xsltproc
checking for php... (cached) /usr/bin/php
checking for language... pt_BR
checking whether to build silently... no
creating ./config.status
creating Makefile
creating ./scripts/manual.xml
creating ./scripts/mtoc.xml
creating ./scripts/testmanual.xml
creating ./stylesheets/html/chunk.xsl
creating ./stylesheets/html/phpweb.xsl
creating ./stylesheets/html/updates.xsl
creating ./scripts/genchapterents.php
creating chapters.ent
creating name_to_id.xsl
root@appserver:~/php-gtk-doc# make html
/usr/bin/xsltproc --param base.dir "'build/pt_BR/html/'" --xinclude ./stylesheets/html/chunk.xsl ./scripts/manual.xml
No "pt_BR" localization exists.
No context named "title" exists in the "pt_BR" localization.
No template named "set" exists in the context named "title" in the "pt_BR" localization.
No "pt_BR" localization exists.
No context named "title" exists in the "pt_BR" localization.
No template named "set" exists in the context named "title" in the "pt_BR" localization.
No "pt_BR" localization exists.
No context named "title" exists in the "pt_BR" localization.
No template named "book" exists in the context named "title" in the "pt_BR" localization.
No "pt_BR" localization exists.
No context named "title" exists in the "pt_BR" localization.
No template named "set" exists in the context named "title" in the "pt_BR" localization.
No "pt_BR" localization of "nav-next" exists; using "en".
No "pt_BR" localization of "editedby" exists; using "en".
No "pt_BR" localization of "copyright" exists; using "en".
No "pt_BR" localization exists.
No context named "title" exists in the "pt_BR" localization.
No template named "legalnotice" exists in the context named "title" in the "pt_BR" localization.
No "pt_BR" localization exists.
No context named "title" exists in the "pt_BR" localization.
No template named "set" exists in the context named "title" in the "pt_BR" localization.
No "pt_BR" localization exists.
No context named "title" exists in the "pt_BR" localization.
No template named "setinfo" exists in the context named "title" in the "pt_BR" localization.
No "pt_BR" localization exists.
No context named "title" exists in the "pt_BR" localization.
No template named "set" exists in the context named "title" in the "pt_BR" localization.
No "pt_BR" localization exists.
No context named "title" exists in the "pt_BR" localization.
No template named "book" exists in the context named "title" in the "pt_BR" localization.
No "pt_BR" localization exists.
No context named "title" exists in the "pt_BR" localization.
No template named "setinfo" exists in the context named "title" in the "pt_BR" localization.
make: *** [build/pt_BR/html/index.html] Interrupt
------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
<localization language="en">
<gentext key="by" text="by"/>
<gentext key="callback" text="Função Callback"/>
<gentext key="constructor" text="Construtor"/>
<gentext key="constructors" text="Construtores"/>
<gentext key="copyright" text="Copyright"/>
<gentext key="description" text="Descrição"/>
<gentext key="directsubclasses" text="Subclasses Diretas"/>
<gentext key="editedby" text="Editado por:"/>
<gentext key="fields" text="Campos"/>
<gentext key="glossary" text="Glossário"/>
<gentext key="implementedby" text="Implementado por"/>
<gentext key="implementedinterfaces" text="Interfaces Implementadas"/>
<gentext key="interfacewarning" text="Esta é uma interface e não pode ser instanciada diretamente."/>
<gentext key="listofexamples" text="Lista de Exemplos"/>
<gentext key="listoffigures" text="Lista de Figuras"/>
<gentext key="listoftables" text="Lista de Tabelas"/>
<gentext key="methods" text="Métodos"/>
<gentext key="nav-prev" text="Anterior"/>
<gentext key="nav-next" text="Próximo"/>
<gentext key="nav-up" text="Acima"/>
<gentext key="nav-home" text="Home"/>
<gentext key="nosubclasses" text="Nenhuma."/>
<gentext key="note" text="Nota"/>
<gentext key="objecthierarchy" text="Hierarquia de Objetos"/>
<gentext key="PHPGTKauths" text="Autores do PHP-GTK"/>
<gentext key="PHPGTKcons" text="Atuais Colaboradores"/>
<gentext key="PHPGTKconsp" text="Colaboradores do PHP-GTK 1"/>
<gentext key="PHPGTKeditors" text="Atuais Editores do Manual"/>
<gentext key="PHPGTKeditorsp" text="Editores do Manual do PHP-GTK 1"/>
<gentext key="PHPGTKmanauths" text="Atuais Autores do Manual do PHP-GTK"/>
<gentext key="PHPGTKmanauthsp" text="Autores do Manual do PHP-GTK 1"/>
<gentext key="properties" text="Propriedades"/>
<gentext key="propertiesDisclaimer" text="Use os métodos get_property e set_property para acessá-los."/>
<gentext key="seealso" text="Veja também"/>
<gentext key="signals" text="Sinais"/>
<gentext key="styleproperties" text="Propriedades de Estilo"/>
<gentext key="stylepropertiesDisclaimer" text="Pode ser definido apenas com arquivos/strings rc."/>
<gentext key="symbolicname" text="Nome simbolico"/>
<gentext key="tableofcontents" text="Conteúdo"/>
<gentext key="translatedby" text="Traduzido por:"/>
<gentext key="tip" text="Dica"/>
<gentext key="value" text="Valor"/>
<context name="glossary">
<template name="seealso" text="Veja também:"/>
</context>
<context name="title">
<template name="appendix" text="Apêndice %n. %t"/>
<template name="book" text="%t"/>
<template name="chapter" text="%t"/>
<template name="classset" text="%t"/>
<template name="classentry" text="%t"/>
<template name="classtree" text="%t"/>
<template name="constructor" text="%t"/>
<template name="constructors" text=""/>
<template name="enum" text="%t"/>
<template name="enums" text="%t"/>
<template name="enumset" text="%t"/>
<template name="example" text="Exemplo %n. %t"/>
<template name="field" text="%t"/>
<template name="fields" text=""/>
<template name="figure" text="Figura %n. %t"/>
<template name="glossary" text="%t"/>
<template name="legalnotice" text="%t"/>
<template name="index" text="%t"/>
<template name="method" text="%t"/>
<template name="methods" text=""/>
<template name="part" text="%t"/>
<template name="partintro" text="%t"/>
<template name="prop" text="%t"/>
<template name="property" text="%t"/>
<template name="properties" text=""/>
<template name="styleproperties" text=""/>
<template name="reference" text="%t"/>
<template name="refentry" text="%t"/>
<template name="set" text="%t"/>
<template name="setinfo" text=""/>
<template name="setindex" text="%t"/>
<template name="signal" text="%t"/>
<template name="signals" text=""/>
<template name="table" text="Tabela %n. %t"/>
</context>
<context name="section-title">
<template name="section" text="%t"/>
<template name="sect1" text="%t"/>
<template name="sect2" text="%t"/>
</context>
</localization>