You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using version 3.12, and trying to translate tags into another language (ex. French->English) with regex before they are compiled. Tags are loaded using <script .. type="riot/tag"></script> and compiled when the page is loaded. The execution environment is regular javascript (no node).
I saw that there is a compileFromString method, but it doesn't seem to be available for riot 3.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
I'm using version 3.12, and trying to translate tags into another language (ex. French->English) with regex before they are compiled. Tags are loaded using <script .. type="riot/tag"></script> and compiled when the page is loaded. The execution environment is regular javascript (no node).
I saw that there is a compileFromString method, but it doesn't seem to be available for riot 3.
Any idea?
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions