Change the locale to auto-translate days of the week, etc.
Arguments
- e
An
echarts4robject as returned bye_chartsor a proxy as returned byecharts4rProxy.- locale
Locale to set to.
- path
Path to the local file to use.
Details
The "manual" function expects a file to use for translations. You can browse the `.js` files [here](https://github.com/apache/echarts/tree/master/i18n) to have an idea of what they should look like.
Locales
- AR - CS - DE - EN - ES - FA - FI - FR - HU - IT - JA - KO - NL - PL - PT (brazil) - RO - RU - SI - SV - TH - TR - UK - VI - ZH
Examples
# top right corner zoom is in
# French
cars |>
e_charts(speed) |>
e_scatter(dist) |>
e_datazoom() |>
e_locale("FR")
