Page MenuHomePhabricator

References change place during translation
Open, MediumPublic


When translating this article from es to ca using apertium, the reference changes place and stops making sense.
This does not happen with any other MT engine.

Event Timeline

Jpita created this task.Jul 24 2019, 9:27 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 24 2019, 9:27 PM

Unlike other engines, Apertium supports only plain text translation. Since it does not support HTML markup the process of translation involves removing the markup and applying it again to the translated contents. Reapplying the markup to a translated text is a process that cannot be 100% accurate and sometimes references and links may be applied to the wrong place.

Since for this particular case the target location seems quite obvious, it may be a good example to improve the algorithm. But I'd defer to @santhosh who knows the internals better to decide if this is a useful example to improve the algorithm or not really worth it.

Pginer-WMF triaged this task as Medium priority.Jul 25 2019, 7:59 AM
Pginer-WMF moved this task from Needs Triage to Bugs on the ContentTranslation board.

Update: We have not looked into this lately. Partly due to less complaints regarding this issue and hence its relatively low priority.