Topic on Talk:Content translation

Jump to navigation Jump to search

Template:Tracklist is not translated

Alex Blokha (talkcontribs)
Pginer-WMF (talkcontribs)

Thanks for the feedback, @Alex Blokha.

Templates are created independently for each wiki and they were not designed to be easily transferred across languages. For Content Translation to be able to transfer a template across languages automatically, it needs the equivalent templates to be connected in Wikidata, and additional metadata to indicate which are the equivalent parameters. This additional metadata is provided with templateData (where the parameters are described) and Content Translation will look for parameters with a common alias or name to copy the information over.

In this particular case the Russian and Ukrainian version of the template are connected in Wikidata, but only the Russian version has templateData. For the mapping to work automatically in Content Translation you need to add templateData information to the Ukrainian template (you can use the "manage templateData" option shown when editing the template) and include alias for the parameters in Russian for Content Translation to copy the information over.

We are doing several improvements in this area to cover more cases, but with the current way templates work it is impossible to cover 100% of the templates. With the new version of Content Translation it is also possible to edit the templates to add the missing parameters manually.

I hope this is helpful. Thanks for using the new version of the tool, and let us know if you have further questions.

Alex Blokha (talkcontribs)

Can you have "developer mode" where you can show log of errors like this (no template data) during translation so we can see what happens.

Pginer-WMF (talkcontribs)

We are working on providing better communication in the tool for cases where templates could not be adapted. Including block templates, inline templates, partially transferred templates, as well as templates that are used used in references and may be missing or partially transferred).

We try to provide a brief but clear description of the problem and suggest the next step to solve the problem (usually editing the template), but a "learn more" link is provided to link to specific documentation where more advanced actions will be described (such as adding templateData) for more advanced users.

Feel free to provide any suggestion in the tickets linked above, or suggest any other case where you think more guidance would be useful in this area.


Reply to "Template:Tracklist is not translated"