Hi,

I created an example on codesandbox
https://codesandbox.io/s/relaxed-currying-tuq81?file=/src/index.js

Regards

On Thu, Nov 18, 2021 at 3:49 PM Tadej Lozar <ta...@goinfo.si> wrote:

> Greetings,
>
> Can you send me working example with this CDN, based on this CDN?
> As I include this CDN and then use locale:SI it still uses english locale
> for number.
>
> Best regards,
>
>
> Tadej Lozar
>
> Programer
>
> GOinfo d. o. o. Nova Gorica
>
>
>
> +386 5 777 57 35 <+386%205%20777%2057%2035>
> ta...@goinfo.si
> www.goinfo.si <//www.goinfo.si>
> Prvomajska 37, SI-5000 Nova Gorica
>
>
> Yi Shen je 18.11.2021 ob 04:32 napisal:
>
> Hi
>
> You should use
> https://cdnjs.cloudflare.com/ajax/libs/echarts/5.2.2/i18n/langSI.min.js
> which can be registered automatically if you are using CDN.
>
> Regards
>
>
>
> On Wed, Nov 17, 2021 at 1:59 AM Tadej Lozar <ta...@goinfo.si> wrote:
>
>> Dear E-charts team,
>>
>> I am trying to configure language of charts to Slovenian (SI locale).
>> I am working with CDN:
>> https://cdnjs.cloudflare.com/ajax/libs/echarts/5.2.2/echarts.min.js
>>
>> https://cdnjs.cloudflare.com/ajax/libs/echarts/5.2.2/i18n/langSI-obj.min.js
>> I coulnd't reference object from langSI. I continually got error. Then i
>> pasted object as it is defined in langSI-obj.min.js
>> Still the changes are not shown in SI language and values in graph.
>>
>> In attachment is code example to recreate sample.
>>
>> I spent hours trying to figure out what could be the possible issue, but
>> can't find a way to registerLocale to SI.
>> Can you help me with working example.
>> --
>> Thanks in advance and best regards
>>
>>
>> Tadej Lozar
>>
>> Programer
>>
>> GOinfo d. o. o. Nova Gorica
>>
>>
>>
>> +386 5 777 57 35 <+386%205%20777%2057%2035>
>> ta...@goinfo.si
>> www.goinfo.si <//www.goinfo.si>
>> Prvomajska 37, SI-5000 Nova Gorica
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
>> For additional commands, e-mail: dev-h...@echarts.apache.org
>
>
>
> --
> Yi Shen
> Apache ECharts PMC
>
>
>

-- 
Yi Shen
Apache ECharts PMC

Reply via email to