Translating en:Užican_dialect to Spanish. Under "History" section, there is one quote that starts with "The Turkish influence...".
Trying to translate that quote silently fails and empty section is added instead, while using Apertium.
santhosh | |
Sep 28 2018, 11:23 AM |
F26687106: Screen Shot 2018-10-21 at 3.09.32 PM.png | |
Oct 21 2018, 10:13 PM |
F26262705: image.png | |
Oct 1 2018, 4:52 AM |
F26230199: cx2-quote-template-apertium.png | |
Sep 28 2018, 5:36 PM |
Translating en:Užican_dialect to Spanish. Under "History" section, there is one quote that starts with "The Turkish influence...".
Trying to translate that quote silently fails and empty section is added instead, while using Apertium.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Do not pass blank textblocks to machine translation services | mediawiki/services/cxserver | master | +8 -1 |
Change 463454 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/services/cxserver@master] Do not pass blank textblocks to machine translation services
Before the patch, trying to translate the quote resulted in empty section. With the patch, template is adapted, although author is not mapped well: you can see "24px24px" being used in the author field.
As far as the main piece of text goes, the source is applied, not translated via Apertium.
No plans to translate the content of template params. We don't do it for any templates.
Parameter mapping depends so many details. And not 100% guranteed. In this case the template params are numbered params and order differs in source and target language. This will require editor intervention.
Change 463454 merged by jenkins-bot:
[mediawiki/services/cxserver@master] Do not pass blank textblocks to machine translation services
@KartikMistry - has cxserver been deployed? The issue is still present in testwiki (wmf.24) although Apertium handles the translation as per @Petar.petkovic comment's screenshot. The translation of quote template still silently fails in cx2 (both for Apertium and Yandex(of course)).
Re-checked in wmf.26 - Apertium doesn't silently fails, but doesn't translate the quote template either:
Since the title of this task was about actually translating the content of the quote template - "Apertium fails to translate a quote template" - I'm moving the task back to Priority Backlog.
Moving back to QA, because the reason the ticket got moved to Backlog is the template params not being translated.
@Petar.petkovic translating quote template in cx2 strangely regressed Apertium silently failing.
In production (wmf.26)
Given the current behavior for translating quote template in production in production and @santhosh comment
No plans to translate the content of template params. We don't do it for any templates.
I am closing the issue as resolved.