Add listLanguages() API methods and fix export.html