8 ms·
One simple idea* would be an option to exclude certain React elements from auto translation. That would allow users to handle these specific cases “manually” wh
by grncdr 1y ago
One simple idea* would be an option to exclude certain React elements from auto translation. That would allow users to handle these specific cases “manually” while still reaping the benefits of the automated system the other 99% of the time.
* worth exactly what you paid for it ;)
- MangoToupe 1y ago...or having an "override" file that allows manual specification regardless about what the LLM spits out.
- maxpr 1y agowe've added support for both these cases actually! :) 1. `data-lingo-skip` - excludes a jsx node from i18n 2. `data-lingo-override-<locale code>` - overrides version in <locale code> language with a custom value 3. also `data-lingo-context` (docs, perhaps, aren't yet the best, but here they are: https://lingo.dev/compiler/configuration/advanced https://lingo.dev/compiler/configuration/advanced)
- grncdr 1y agoAh that’s great. I simply hadn’t read the docs that far