String translation using JavaScript doesn’t work
-
Hi,
It seems that you have not taken into account the translations of message strings using JavaScript.
In a “.js” file I use the function “__(‘Back’, ‘hitemplate’)” but this text does not appear in the list of translations. I have also tried to put a text that I am using in the PHP part, but it does not translate it either. For example, “__(‘Close’, ‘hitemplate’);” shows the translated text from PHP, but from JS it always shows “Close”.Am I making any mistakes? Is it possible to make it work?
Thanks in advance for your help
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘String translation using JavaScript doesn’t work’ is closed to new replies.