sxmpasch commented on issue #10599: examples and english language in documentation is not working URL: https://github.com/apache/incubator-echarts/issues/10599#issuecomment-498206010 @cuijian-dexter: Take a look at e.g. https://echarts.apache.org/en/tutorial.html#Rich%20Text There, you can see in the Chrome console: "Uncaught TypeError: Cannot read property 'editDemo' of undefined" (view.js) It seems, in view.js, there is a variable called "lang" containing the language-specific button texts (e.g. lang.en.editDemo). The code in view.js tries to access "lang.editDemo" without language selection. You could use e.g. var langInfo = { ... }; var lang=langInfo[currentLanguage]; ...
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
