Skip to content

International support

shalousun edited this page Nov 3, 2019 · 1 revision

Smart-doc currently supports Chinese and English, but the developer of smart-doc is from China, so the default language for smart-doc is Chinese. For web developers in other countries, if you are using smart-doc to generate API automatically. Documentation, then you can set it to English language environment. The language configuration is as follows:

ApiConfig config = new ApiConfig();
// Set to English environment
config.setLanguage(DocLanguage.ENGLISH);