Re: Polyglot alternative to Doxygen and Robodoc?
On Mon, Feb 07, 2005 at 10:15:03AM -0500, Michael Marsh wrote:
> On Mon, 7 Feb 2005 12:52:29 -0200, Jeronimo Pellegrini
> <pellegrini@mpcnet.com.br> wrote:
> > On Mon, Feb 07, 2005 at 11:32:40AM -0300, Juan Cataldo wrote:
> > > Doxygen may generate docs in several languages, why don't you use it?
> > I didn't find anything about that in the documentation (several
> > languages in the same source files). Could you please point me to
> > the right place?
>
> There's an OUTPUT_LANGUAGE option, which is set to "English" as the
> default, but "Brazilian" is also supported. You might have to create
> two config files and specify which one you want on the command line.
Yes, but if I understand it correctly, that is only for the Doxygen text...
How do I tell Doxygen where the documentation is in English and where it is
in Portuguese? What I'd like to do is this:
/**
[pt_BR]
Decide se um programa pára ou não.
Esta função decide se um programa vai em algum momento parar.
@param p O programa
@param a Os argumentos para o programa
@return Um booleano: true se o programa para, ou false se nunca para.
[en_US]
Decides if a program ever halts.
This function decides if a program will ever halt.
@param p The program
@param a The arguments to the program
@return A boolean: true if the program ever halts, and false
otherwise
*/
bool halts (Program p, void *a) { ... }
Or some other way to make it understand documentation in several languages
(the format doesn't matter).
J.
Reply to: