When translating Hugo Kołłątaj from English to Japanese, the References section is failing for Yandex and HTML translating MT engines.
The error reported is the content is too large to translate.
Description
Related Objects
- Mentioned In
- T203160: CX2: Highlight (and skip) references with a template that could not be adapted
T198699: Monitoring of MT services
T144467: Security review for Google MT for Content Translation
T206756: CX2: References by name disappear and produce missing reference errors when published - Mentioned Here
- rGCXS17f9a107f597: Do not pass sections with block template to MT engine
T144467: Security review for Google MT for Content Translation
T198699: Monitoring of MT services
T208471: CX2: Translating Reference list displays oo-ui-icon-puzzle
The root cause was the reflist contains template style as well. It is really unnecessary to machine translate the section if it is only a block level template.
Change 470807 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/services/cxserver@master] Do not pass sections with block template to MT engine
This other ticket may be relevant since it affects the same area: T208471: CX2: Translating Reference list displays oo-ui-icon-puzzle
Change 470807 merged by jenkins-bot:
[mediawiki/services/cxserver@master] Do not pass sections with block template to MT engine
Mentioned in SAL (#wikimedia-operations) [2018-11-06T04:42:16Z] <kartik@deploy1001> Started deploy [cxserver/deploy@ddb0031]: Update cxserver to 17f9a10 (T144467, T198699, T208386)
Mentioned in SAL (#wikimedia-operations) [2018-11-06T04:47:42Z] <kartik@deploy1001> Finished deploy [cxserver/deploy@ddb0031]: Update cxserver to 17f9a10 (T144467, T198699, T208386) (duration: 05m 26s)
I have resolved the ticket because the case of Hugo Kołłątaj from English to Japanese is no longer affected by this bug.
However, when translating Reince Priebus from English to Dutch, cxserver responds with status code 500 and error "Source text too long: en-nl". One observation is that the condition to avoid translating block templates added in 470807 is not satisfied.