How to provide javadoc in other languages?

We often integrate with services developed and supported in other countries, such as Spain, Chile, India, etc. I understand that services / API calls from Spain and Chile are in Spanish. But we want our code to be English and Javadoc both in English and Spanish. I am looking for a better way to achieve this.

Is there a generally accepted standard for this kind of scenario?

The following is an example of a second surname specific to Spain. getLastName () is clear enough for English-speaking people, but this API is also available for people who speak Spanish, and so I added Javadoc, as you see below.

     /**
     * Segundo Apellido
     */
    String getSecondLastName();
+1
source share
3 answers

stacloverflow. .

+1
+2

All Articles