Name | Modified | Size | Downloads / Week |
---|---|---|---|
README.txt | 2010-02-01 | 1.0 kB | |
l10ndoclet.jar | 2010-02-01 | 22.7 kB | |
Totals: 2 Items | 23.7 kB | 0 |
l10ndoclet enables efficient javadoc localization into multiple languages. The project is providing 2 doclets. PreProcess is used to extract source code comments into <class-name>-cmnt.xml and also package comments in package.html into <package-name>-cmnt.xml. After -cmnt.xml files are translated, PostProcess doclet will be used to generate localized javadoc. For detailed information about javadoc and doclets, refer to following document. http://java.sun.com/javase/6/docs/technotes/tools/solaris/javadoc.html Usage example: Generate files for translation: $ LC_ALL=C javadoc -J-Xmx256m -sourcepath <source file dir> -docletpath <somewhere>/l10ndoclet.jar -doclet com.sun.tools.doclets.l10n.PreProcess -d <output dir> packages... Generate localized javadoc from source files and translation files: $ javadoc -J-Xmx256m -sourcepath <source file dir> -cmntpath <translation files dir> -docletpath <somewhere>/l10ndoclet.jar -doclet com.sun.tools.doclets.l10n.PostProcess -d <output dir> packages..