How to export JavaDoc from an Eclipse project in English language

If you try to create a Java API document by javadoc.exe and your system language is not English, in Eclipse you may get a result Java API in a language other than English. The encoding problems may often cause that the navigation bar is full of grabled unrecognizable code like this.

Snap1

In order to make the navigation bar in correct English language, just need make a small change. Go to the last page of the javadoc export wizard in Eclipse, add the following string into the “extra javadoc options” text area.

-locale en

Snap102

Click the finish button. You will see the output Java API Web pages will be in English. Another problem is solved. Bingo!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s