JavaScript in translated string?
-
Hello,
thank you very much for this great plugin, since WPML isn’t free anymore, I use TranslatePress all the time.I have a page with a price list, the prices in the original Czech version are in CZK and I would like the prices to be in EUR in the translated English version. Of course it can be done manually in Translation Editor but I was thinking of something more fancy, like calculating the values in EUR from the values in CZK using an exchange rate pulled from somewhere.
I think this would require JavaScript. I saw in the documentation that some HTML tags can be used inside the string in the Translation Editor, but what about JavaScript? I guess I can’t just use the script tag in the Editor and expect that to work?
Do you have any ideas how to achieve this? Thank you very much.
PetrThe page I need help with: [log in to see the link]
- The topic ‘JavaScript in translated string?’ is closed to new replies.