examples and english language in documentation is not working

echarts-bot:
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.
Have a nice day! 🍵

echarts-bot:
You can visit the following address:https://echarts.apache.org/examples/en/index.html

cuijian-dexter:
@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];
...

cuijian-dexter:
Please see the demos here. https://ecomfe.github.io/echarts-examples/public/ will be fixed and redirect to that later.

sxmpasch:
It seems this is still work in progress. If you look at e.g. https://echarts.apache.org/en/tutorial.html#Dataset
the charts are not working:

  • Chinese button labels
  • dynamic data load uses a ecomfe.github.io link which is getting a 404 response (not found)...


  • Ovilia:
    @sxmpasch It has been fixed now. Please visit https://echarts.apache.org/zh/tutorial.html#%E4%BD%BF%E7%94%A8%20dataset%20%E7%AE%A1%E7%90%86%E6%95%B0%E6%8D%AE
    Note that the Chinese link is not exactly as English one because it reads the title of the page, and the Chinese title is no the same with the English one.
    原文地址:https://github.com/apache/incubator-echarts/issues?utf8=%E2%9C%93&q=TypeError&page=2