Using language with script and CDN #1340
Replies: 9 comments 1 reply
-
ok I found the solution for JS with a CDN (in the documentation !) but I have the same problem in a nodejs project...
ok for HF but not for the languages... thank's for your help... |
Beta Was this translation helpful? Give feedback.
-
Hi @guenlm, thanks for reaching out to us. Take a look at this demo: https://codesandbox.io/s/github/handsontable/hyperformula-demos/tree/2.6.x/i18n?file=/src/hyperformulaConfig.js:41-96 If it doesn't help, please, share the code that produces the issue via https://codesandbox.io/ |
Beta Was this translation helpful? Give feedback.
-
… Hi @guenlm <https://github.com/guenlm>, thanks for reaching out to us.
Take a look at this demo:
https://codesandbox.io/s/github/handsontable/hyperformula-demos/tree/2.6.x/i18n?file=/src/hyperformulaConfig.js:41-96
If it doesn't help, please, share the code that produces the issue via
https://codesandbox.io/
—
Reply to this email directly, view it on GitHub
<#1340 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCGDPWVJTCP7STA7DDN62TYFMSBNAVCNFSM6AAAAAA7OPEQESVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMMJXGYYDM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Are you sure this link is correct? This looks like an empty app... |
Beta Was this translation helpful? Give feedback.
-
may be a problem with permissions.. i don't have pro subscription for
sandbox...
[image: image.png]
i can add you with private email...
[image: image.png]
Le lun. 20 nov. 2023 à 18:32, Kuba Sekowski ***@***.***> a
écrit :
… Are you sure this link is correct? This looks like an empty app...
—
Reply to this email directly, view it on GitHub
<#1340 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCGDPVOAMANEHU3M4Y7Y3LYFOHZ7AVCNFSM6AAAAAA7OPEQESVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMMRSGA4TA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Ok, thanks.
Le mer. 22 nov. 2023 à 14:36, Kuba Sekowski ***@***.***> a
écrit :
… This one works. Our team will analyze the situation and get back to you
shortly.
—
Reply to this email directly, view it on GitHub
<#1340 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCGDPWHF6M6AL27PJCE42DYFX5UPAVCNFSM6AAAAAA7OPEQESVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMNBSGU2TG>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
@guenlm After analyzing this issue, I can confirm there is a bug in our configuration. The language files are not compatible with the ES module system in Node. It will be fixed in one of the upcoming releases. I created an issue #1344 to track it. In the meantime, you may try using the CommonJS module system as a workaround: const { HyperFormula } = require('hyperformula');
const frFR = require('hyperformula/commonjs/i18n/languages/frFR'); |
Beta Was this translation helpful? Give feedback.
-
Hi @guenlm, The following issue linked by @sequba is fixed and was just released in the HyperFormula v3.0.0 version. Here https://hyperformula.handsontable.com/guide/release-notes.html#_3-0-0 you can check the full changelog. I will close this issue as solved. If you happen to find any issues please let us know in the comments. |
Beta Was this translation helpful? Give feedback.
-
Hello
If I use <script> and cdn for hyperformula, how I can import language because this code doesn't work..
HTML :
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/languages/frFR.js"></script>
js :
Thank's
Beta Was this translation helpful? Give feedback.
All reactions