Hi guys, I have my constants.js script and TimeLine.js script. I want to import data from the constant.js to the TimeLine.js, but I want to use i18next library. How can I translate my constant.js data with i18next?
I know that I can't do that like on the screenshot above. But I don't realy know how to solve this problem in a proper way.
Here below is my TimeLine.js script.
Can I solve the problem in that way?
If yes, that I don't know how to import it in TimeLine.js script.
Thanks in advance for your help!
Top comments (0)