The official way to support multiple languages, which I’ve used successfully in
the past, is to mark the comment language with \~[LanguageId], e.g.
/** comment
\~English
\brief English brief description
A longer description
\~German
\brief Deutsche kurzbeschreibung
Eine längere Beschreibung
*/
and in the doxygen project configuration file set OUTPUT_LANGUAGE = English or
OUTPUT_LANGUAGE = German.
Regards
-Mark
> On Feb 25, 2023, at 8:37, Jens Kallup <[email protected]> wrote:
>
> Hello,
>
> I searching for a way, to make the Documenation available for
> more as one Language.
>
> I have add following lines to the Doxygen config file:
> OUTPUT_LANGUAGE = German
> ENABLED_SECTIONS = YES
> ENABLE_PREPROCESSING = YES
> PREDEFINED = "DOXYGEN_COMMENT" "EnglishDox" "DeutschDox"
>
> In a test.cc file, I use:
>
> //! comment
> #ifdef EnglishDOX
> Output
> #endif
> #ifdef DeutschDox
> Ausgabe
> #endif
>
> But the Doxygen run bring me the Sekeleton in German, but the Text
> in Dokumentation Block is always in English.
> Do I miss something - or is the use of Options wrong ?
>
> Thanks for reading.
>
>
> --
> Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
> www.avast.com
>
>
> _______________________________________________
> Doxygen-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/doxygen-users
_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users