I have a project that requires multilanguage code comments (es + en), going through the javadoc documentation, I could not find a tag that could help us to define when a description is in any specific language.
The specific requirement is to generate one set of documentation for any of the languages in which the javadoc is written given a flag or option. So, for instance, if english javadoc is required, then instruct javadoc to generate all of the comments specified in english, ignoring the other languages.
Is this possible at all?
is there any resource I should go to understand better this application?
or I should just drop javadoc and go to another tool, let's say doxygen, to achieve this result?
I appreciate your comments and pointers on the issue.
Rob Prime wrote:Javadoc doesn't support this out-of-the-box, but you could perhaps write your own Doclet class, then use this to generate the API documentation.
But perhaps in this case, doxygen is a bit easier. I can't tell you though since I haven't written a Doclet class nor used doxygen.
Thank you Rob. I appreciate it.
I'll check what would be easier/maintanable and update the post accordingly.
Have a very good day.
subject: Multilanguage Javadoc comments and output. One language at a time.