From beb9d5368736d32decce90bf60d424b5d03ba2fb Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Wed, 15 Jul 2026 11:45:14 -0700 Subject: [PATCH] fix(plugin-chart-echarts): use echarts 5.6.0 i18n export path for locale import (#42055) Co-authored-by: Claude --- .../plugins/plugin-chart-echarts/src/components/Echart.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx index 43fc7bf2bb0..bb2c1d643f1 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx @@ -124,7 +124,7 @@ use([ const loadLocale = async (locale: string) => { let lang; try { - lang = await import(`echarts/lib/i18n/lang${locale}`); + lang = await import(`echarts/i18n/lang${locale}.js`); } catch { // Locale not supported in ECharts }