Thursday, March 6, 2014

How were generated in the British javadoc


I wrote a simple API, which in itself is no problem.
The problem is that I want to generate
JAVADOC, but also to generate Chinese and English respectivelyHow to do?
I remember there were some libraries are in different languages ​​JAVADOC, how they are implemented?
Pray they express<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Default written in JAVA Class above are in English, unless they translate, general javadoc tool to generate class files are in accordance with the above text directly combinations. What language would translate into what the language.
java api documentation are translated into Chinese many others.
Reply:
cited a floor birdsaction reply:
default written in JAVA Class above are in English, unless they translate, general javadoc tool to generate class files are in accordance with the The above text directly combinations. What language would translate into what the language.
java api documentation are translated into Chinese many others.


That being said, it can only be written in one language JAVA file, after generating the corresponding JAVADOC, then manually translated into another?
Really it is not in the source code written in two languages, and then choose one language to generate it?

If I changed after these API, or change some api's JAVADOC, it can only be to go in another language JAVADOC find it changed?

I knew nothing about, please look under Xiongtai prompted again
Reply:
Yes, you have a lot to look online doc translated into Chinese in English, and if not so long ago that automatically translated, of course, you can get some advanced, embedded in a powerword help translate,
java seems not automatically translate into English Chinese I know.
Reply:
Found online this http://stackoverflow.com/questions/1482392/how-to-be-multi-language-to-javadoc
I feel quite satisfied with the front part, but the latter part of it too much trouble, but also to manually change the CSS, feel this is a half solution.
Another with a questioner asked a http://stackoverflow.com/questions/1483141/i-want-to-add-javascripts-in-javadoc
But obviously not javascript
CSS
My hope is that the desired effect in the original process output JAVADOC modify only one place, you can change the language output JAVADOC content, now comes to mind is the second step of the method mentioned above replaced with a reference to a different stylesheet. css, which has achieved the CSS content above the second step.
Reply:
The above method can not be used to generate the HTML looked normal in the browser, once lead to the eclipse in English on a piece out

Find (a better way | similar doclet | eclipse plugin)

No comments:

Post a Comment