Translating HTML templates

You can do this with Gemma/LTEngine, as I did the same with my project to verify that Gemma works reliably.
If your “tags” aren’t easily parsable, or tend to interfere by offering a literal meaning (eg “speaking variable names”, then just make some hashing and replace with tags that do not interfere.
See also my last post. (How to avoid/work around this LibreTranslate bug?)

1 Like