Community Wishlist Survey 2023/Translation/Visual Editor should automatically map templates when pasting content form other languages
Visual Editor should automatically map templates when pasting content form other languages
- Problem: When translating a page form one language to another using the visual editor, it is possible to copy (and then adapt) the text. The problem with this is that the text is copied as is, including the templates, which might be references. Since templates are different from wiki to wiki, the user may need to find the equivalent template and adjust the contents based on the target template name and their parameters. There should be an easy way to copy a bare reference from source language to target language.
- Proposed solution: Provide a way to simply add/copy a reference from source to target language which requires minimal manual intervention.
- Who would benefit: Anyone translating
- More comments:
- Phabricator tickets: task T243150
- Proposer: Eptalon (talk) 21:19, 23 January 2023 (UTC)
Discussion
- @Eptalon: Thanks for your proposal! Since there are several different ways to make a translation, it would be great for the description to clarify some aspects. Is the translation process you describe based on opening with Visual Editor the source and the target articles to make a translation or is Content Translation involved in the process? Please let us know if the scenario you described would be represented in this example: a user opens the English version of the Avocado article with Visual Editor by clicking on "edit" and copies content that includes templates. Then, opens the French version of the article in the same way and pastes the English content to start editing them to make a translation. The templates pasted are expected to be converted into the equivalent French Wikipedia templates. --Pginer-WMF (talk) 11:28, 25 January 2023 (UTC)
- This is like globalizing and localizing templates to other language wikis, I think... Thingofme (talk) 15:44, 30 January 2023 (UTC)
- @Eptalon: I made some adjustments trying to clarify the proposal. Please let me know if I misinterpreted anything, or something can be captured in a better way. thanks!
- It feel this apply to ContentTranslate too, and is one of the main reason why some wiki are upset with people translating articles from other language versions.C933103 (talk) 05:34, 7 February 2023 (UTC)
- I still don't get this proposal. What's a "bare reference"? Aaron Liu (talk) 20:24, 10 February 2023 (UTC)
- I'm a bit shocked this didn't end up in the larger wishes section, as I can't imagine how this would be done without a huge effort to to build a mapping between template parameters on different wikis; in the end, it would need some weak version of global templates. Certainly would be nice, though. --Tgr (talk) 03:59, 11 February 2023 (UTC)
- I will perhaps clarify: In English, there's a template, I think sfn, which inserts & formats a reference (according to some rule of what the reference should look like). DeWp does not have the template, so the referencem, if it ends up in the German translation at all, is broken. Now imagine you translate a longer article, which is properly referenced in English, but in German it lost all these templates (which requires a large amount of work, but translating already is a huge amout of effort). Now imagine that the subject you translate contains some controversial sections, which are properly referenced in the source language, but end up unreferenced in the target language. As to the "dictionary", you could have the user propose an equivalent template, mapping the parameters should be easy.--Eptalon (talk) 19:01, 11 February 2023 (UTC)
Voting
- Support Strainu (talk) 20:23, 10 February 2023 (UTC)
- @Strainu Since you apparently understand what this is asking for, could you help me understand what a "bare reference" is? Aaron Liu (talk) 20:25, 10 February 2023 (UTC)
- @Aaron Liu it's a reference containing only a link, with no information (title, author etc). See en:WP:BURL. Strainu (talk) 20:30, 10 February 2023 (UTC)
- If it is a bare reference then shouldn't parsoid be able to expand it? Or is it just "reference" not "bare reference"? So the proposal is asking for auto-translating refs? Aaron Liu (talk) 20:32, 10 February 2023 (UTC)
- It's for auto-translating templates, not references; however, many references are part of a template (eg. cite news). It feels to me like "bare reference" is an edge case that is more confusing than helpful in this proposal :) Exilexi (talk) 09:11, 11 February 2023 (UTC)
- If it is a bare reference then shouldn't parsoid be able to expand it? Or is it just "reference" not "bare reference"? So the proposal is asking for auto-translating refs? Aaron Liu (talk) 20:32, 10 February 2023 (UTC)
- @Aaron Liu it's a reference containing only a link, with no information (title, author etc). See en:WP:BURL. Strainu (talk) 20:30, 10 February 2023 (UTC)
- @Strainu Since you apparently understand what this is asking for, could you help me understand what a "bare reference" is? Aaron Liu (talk) 20:25, 10 February 2023 (UTC)
- Support Rocit (talk) 20:30, 10 February 2023 (UTC)
- Support FAMMID (talk) 20:57, 10 February 2023 (UTC)
- Support Tom Ja (talk) 21:19, 10 February 2023 (UTC)
- Support Blackisnewyellow (talk) 21:49, 10 February 2023 (UTC)
- Support Kepler-1229b (talk) 22:42, 10 February 2023 (UTC)
- Support Shamrockwikiedit (talk) 23:43, 10 February 2023 (UTC)
- Support Skimel (talk) 00:52, 11 February 2023 (UTC)
- Support Tgr (talk) 03:57, 11 February 2023 (UTC)
- Support Goliv04053 (talk) 06:23, 11 February 2023 (UTC)
- Support Remy34 (talk) 09:04, 11 February 2023 (UTC)
- Support Exilexi (talk) 09:09, 11 February 2023 (UTC)
- Support דליק כלבלב (talk) 11:17, 11 February 2023 (UTC)
- Support Smetanakaviar (talk) 12:09, 11 February 2023 (UTC)
- Support Tiputini (talk) 13:29, 11 February 2023 (UTC)
- Support Komavo (talk) 14:28, 11 february 2023 (UTC)
- Support I think that this is usefull SanderProGamer (talk) 14:45, 11 February 2023 (UTC)
- Support OwenBlacker (Talk) 15:12, 11 February 2023 (UTC)
- Support CROIX (talk) 15:22, 11 February 2023 (UTC)
- Support FinixFighter (talk) 15:48, 11 February 2023 (UTC)
- Support Aaron Liu (talk) 16:03, 11 February 2023 (UTC)
- Support Novak Watchmen (talk) 17:26, 11 February 2023 (UTC)
- Support Dotruonggiahy12 (talk) 19:04, 11 February 2023 (UTC)
- Support Ivario (talk) 22:08, 11 February 2023 (UTC)
- Support Nehaoua (talk) 22:43, 11 February 2023 (UTC)
- Support --NGC 54 (talk|contribs) 01:05, 12 February 2023 (UTC)
- Support Wiki-uk (talk) 09:20, 12 February 2023 (UTC)
- Support EiersalatmitGurken (talk) 14:38, 12 February 2023 (UTC)
- Support Jusore (talk) 21:22, 12 February 2023 (UTC)
- Support — Officine Informatiche msg 09:14, 13 February 2023 (UTC)
- Support Thomas³ (talk) 16:36, 13 February 2023 (UTC)
- Support Wargo (talk) 20:27, 13 February 2023 (UTC)
- Support JAn Dudík (talk) 21:48, 13 February 2023 (UTC)
- Support Tris T7 (talk) 18:35, 14 February 2023 (UTC)
- Support ZandDev (talk) 18:44, 14 February 2023 (UTC)
- Support Laurent Meesseman (talk) 14:30, 15 February 2023 (UTC)
- Support Wikiusuarios (talk) 19:43, 15 February 2023 (UTC)
- Support --Polarlys (talk) 21:35, 15 February 2023 (UTC)
- Support Aishik Rehman (talk) 08:09, 16 February 2023 (UTC)
- Support JFremd (talk) 16:17, 16 February 2023 (UTC)
- Support ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ (talk) 17:41, 16 February 2023 (UTC)
- Support —MdsShakil (talk) 19:59, 16 February 2023 (UTC)
- Support Tbartovic (talk) 20:04, 16 February 2023 (UTC)
- Support β16 - (talk) 15:56, 17 February 2023 (UTC)
- Support Winschu (talk) 22:58, 17 February 2023 (UTC)
- Support Wracking (talk) 02:42, 18 February 2023 (UTC)
- Support Kpjas (talk) 07:53, 18 February 2023 (UTC)
- Support Kuba Walczak (talk) 08:51, 18 February 2023 (UTC)
- Support Fabius Lector (talk) 10:49, 18 February 2023 (UTC)
- Support Georges Smiley (talk) 13:24, 18 February 2023 (UTC)
- Support LilyKitty (talk) 13:32, 18 February 2023 (UTC)
- Support this seems like a larger proposal, but would very useful Lupe (talk) 14:18, 18 February 2023 (UTC)
- Support Trimton (talk) 15:07, 18 February 2023 (UTC)
- Support Zaid A. Al-husseini (talk) 15:29, 18 February 2023 (UTC)
- Support This should be done, although it may be done through Wikidata global templates sitelink. Thingofme (talk) 15:44, 18 February 2023 (UTC)
- Support The person who loves reading (talk) 21:36, 18 February 2023 (UTC)
- Support cyrfaw (talk) 16:06, 19 February 2023 (UTC)
- Support Czupirek (talk) 21:39, 19 February 2023 (UTC)
- Support Althair (talk) 02:04, 20 February 2023 (UTC)
- Support அபிராமி நாராயணன் (talk) 06:48, 20 February 2023 (UTC)
- Support — Draceane talkcontrib. 12:42, 20 February 2023 (UTC)
- Support Qxyz123 (talk) 04:11, 21 February 2023 (UTC)
- Support Silva Selva (talk) 23:21, 21 February 2023 (UTC)
- Support ABAL1412 (talk) 04:14, 22 February 2023 (UTC)
- Support Amir E. Aharoni (talk) 12:05, 22 February 2023 (UTC)
- Support Podzemnik (talk) 18:12, 22 February 2023 (UTC)
- Support I support this a lot, especially being a translator who always has that problem. Hfgjgfxc (talk) 01:08, 22 February 2023 (UTC)
- Support Emilej01 (talk) 04:07, 23 February 2023 (UTC)
- Support منى ناصر ثابت علام حُزين (talk) 15:38, 23 February 2023 (UTC)
- Support. —— Eric Liu(Talk) 04:07, 24 February 2023 (UTC)