Open jelmervdl opened 1 year ago
Doesn't work all that well without sentence boundaries unfortunately.
Intl.Segmenter
exists but I don't want to have two sentence splitters inside the project, with the chance that they go out of sync and its unable to map the correct sentence to the correct translated sentence :/
For simple content it works quite well though:
Implement #5 by getting the original text from the "restore page" feature.
It doesn't have information about sentence ends, so currently generates a popup the size of the translated DOM node (or "chunk")