Hyperformula translate error

Tags: #<Tag:0x00007efc62645dd8> #<Tag:0x00007efc62645bd0>

i have tried using the hyperformula translation on Angular, but don’t work:

another way:

Can someone help me?

Hi @hugoherrerolomas

I checked one of HyperFormula’s Angular examples from the documentation, added Portuguese lanmguage and everything works correctly. You can check it in this example: https://stackblitz.com/edit/handsontable-hyperformula-demos-pru8fb?file=src%2Fapp%2Femployees%2Femployees.helper.ts

Hi @adrian.szymanski! Thanks for the answer…

I saw the documentation and applied exactly how, but the error says something about ‘could not find a declaration’.

it is weird because, if I click on the path link I’m directed there;

so, a solution I found was to copy the “hyperformula/es/i18n/languages/ptPT” content to a new file in my project and import it from there;

is not the better way, but works;

Hi @hugoherrerolomas

I’m glad that you were able to find a solution to this problem. I will close this topic now, but if you have any other questions, feel free to open a new one.

1 Like