EPoikans opened a new issue, #21543:
URL: https://github.com/apache/echarts/issues/21543
### What problem does this feature solve?
Add latvian localization to echarts
### What does the proposed API look like?
From apache/superset this code block would not error when trying to localize
superset to latvian.
```
const loadLocale = async (locale: string) => {
let lang;
try {
lang = await import(`echarts/lib/i18n/lang${locale}`);
} catch {
// Locale not supported in ECharts
}
return lang?.default;
};
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]