User talk:Pols12

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search



Thanks for mixing fixing the mess that I sometimes leave behind. You are a good wik-friend. I have had to submit a number of reports here and I have to appear in my semester exams from 18. That's why perhaps I couldn't check for these things. ─ The Aafī (talk) 17:53, 15 January 2023 (UTC)Reply[reply]

Don’t worry, typos may arrive for everybody. And Translate markup is really painful. 🙂 -- Pols12 (talk) 18:58, 15 January 2023 (UTC)Reply[reply]
Thanks. Anyways, do you have any idea about how can I fix this? The translation for "this image" and if I am not able to do it locally. ─ The Aafī (talk) 16:56, 16 January 2023 (UTC)Reply[reply]
It is hard to investigate for me, as I can’t read Urdu, but I think most English text come from ur:سانچہ:Deletable_file. --Pols12 (talk) 20:43, 16 January 2023 (UTC)Reply[reply]
and similarly the Urdu translation of "Shortcut" like here. ─ The Aafī (talk) 16:57, 16 January 2023 (UTC)Reply[reply]
That comes from Template:Shortcut caption. --Pols12 (talk) 20:43, 16 January 2023 (UTC)Reply[reply]

Translation request[edit]

Hello! Any change you might be willing to translate en:Wiki Loves Pride into French? I saw you made an edit to a Queering Wikipedia page, and your profile says you do translation work. Figured I'd ask. Either way, happy editing! -Another Believer (talk) 05:32, 7 February 2023 (UTC)Reply[reply]

I’m sorry to decline your request, because I’m not inclined to translate Wikipedia articles, especially because it speaks about Wikimedia movement itself. Yet, I would be glad to help translate some content on Meta-Wiki, if needed. I hope you understand. 🙂 -- Pols12 (talk) 13:12, 8 February 2023 (UTC)Reply[reply]
No worries at all! -Another Believer (talk) 05:01, 9 February 2023 (UTC)Reply[reply]

Iberoconf pages[edit]

Hello @Pols12 Thank you for the changes you are making to the Iberoconf 2023 pages[1][2], however, we appreciate your input for it is already pre-designed so please do not make changes and/or configurations to them. Thank you very much, Monica. [1] [2] Monica Bonilla (WMCO) (talk) 15:52, 8 February 2023 (UTC)Reply[reply]

@Monica Bonilla (WMCO), I understand. However, while editing the pages, please keep them accessible. Please also note, if you expect them to be translatable, we’ll need to mark them for translation, so they will need to comply with Internationalization guidelines. Please ping me if you need further help, especially for internationalization. Regards, -- Pols12 (talk) 16:02, 8 February 2023 (UTC)Reply[reply]


Hi @Pols12, I hope you are doing well. Could you please help me here? I marked the template for translation after adding tvar tags but since it uses some more templates inside it, I'm not getting how do I prepare these three things for translation there: Project In Search of the Roots, NDEC Wikipedia Editorial & Research Team and Notre Dame College, Dhaka. The problem is that it is wrapped in color templates and I don't really feel okay in bring the color stuff into translation. I would appreciate your help. Thank you! ─ The Aafī (talk) 05:21, 23 February 2023 (UTC)Reply[reply]

With templates and complex formatting, we can’t do wonders. We should only try to mask template names and parameters which could be wrongly “translated” by translators. So I would use
[[<tvar name=1>:m:NDEC/Project Roots</tvar>|{{<tvar name=2>color|white</tvar>|Project Roots}}]]
to provide
[[$1|{{$2|Project In Search of the Roots}}]]
However, in many cases, and in that specific case, we can improve the wikifying to better separate formatting and content. I have just edited the template to color links through templateStyles rather than through {{color}} template. -- Pols12 (talk) 17:32, 23 February 2023 (UTC)Reply[reply]
Thanks @Pols12, I just fixed the tvars and marked the template for translation. Thanks for your kind support. we can’t do wonders but you always do wonders for me. Thanks a lot. ─ The Aafī (talk) 03:01, 24 February 2023 (UTC)Reply[reply]

CIS-A2k and stuff[edit]

Is there any way to keep CIS-A2K/Requests/Projects out of translation because it is just a header that's already in translation but at the same time keep the page in such a position that people find the header included on that page in translation (available to be read in another language). Do you think removing this page from translation, and subsequently removing noinclude stuff from CIS-A2K/Requests/header/Project solves this problem? Regards, ─ The Aafī (talk) 10:50, 24 February 2023 (UTC)Reply[reply]

The problem being that the pages such condition or using the tvars don't help the translation of that page get transcluded such as on CIS-A2K/Requests/ur and others. ─ The Aafī (talk) 10:53, 24 February 2023 (UTC)Reply[reply]
Unless one adds a language code. See this. ─ The Aafī (talk) 10:53, 24 February 2023 (UTC)Reply[reply]
Pinging @Jayantanth from the CIS-A2K who happens to be a translation admin himself. My suggestion is that we just mark the header for translation and since we need its translated versions on several base pages, we remove no-include wrapper from "languages" tag. ─ The Aafī (talk) 10:58, 24 February 2023 (UTC)Reply[reply]
The background is that pages like CIS-A2K/Requests/Projects are really not okay for being in translation. There are just requests that could be posted in any Indic languages. If we discourage the page from translation, people can't get through the translated header, given the pages current setup. ─ The Aafī (talk) 11:02, 24 February 2023 (UTC)Reply[reply]
Here, we have two possibilities:
  1. Keep the page in Translate system, with this hack: using an empty <translate></translate> pair. Only the page title will be translatable. The main issue is: translation pages are not editable and each change in source page must be marked for translation to be visible on translation pages, which is confusing for discussion participants.
  2. Transclude the header in user interface language: we use {{TNT|uselang={{int:lang}}}} (or {{dynamite}}) but we remove the page from Translate system, i.e. we don’t add any translate tag. To see the header in another language, the editors must change the MediaWiki language in their preferences.
For discussion pages, I recommend to use the second solution: it ensures the page is ever editable and up-to-date. So I’m applying it; if you would like the first one instead, please add an empty translate tag pair in the page. 🙂 --Pols12 (talk) 13:25, 24 February 2023 (UTC)Reply[reply]
I'm happy with it. Thanks once again. ─ The Aafī (talk) 13:39, 24 February 2023 (UTC)Reply[reply]

Preparing for translation[edit]

Hello! I was working on migrating Wikipediholic to the translate extension. I wanted to split the bullet and numbered lists as per the i18n guidelines, but the extension keeps complaining about nested translate tags. Before marking it for translation and start porting old ones via Special:PageMigration, could you please take a look and let me know what I'm missing? Feel free to do the changes you feel are necessary. Thank you. Best regards, —MarcoAurelio (talk) 15:10, 26 March 2023 (UTC)Reply[reply]

Note: I tried to keep the number of "translate" tags low so I only added them on top and bottom of the page. Maybe I should further split the source to avoid those so-called "nested" translating tags... —MarcoAurelio (talk) 15:15, 26 March 2023 (UTC)Reply[reply]
@MarcoAurelio, I see you finally achieved to split the units. Indeed, we must close the “global” translate tag before opening a new one for a list item or other short item.
The segmentation was fine (good job!); I only changed tvar names, since they must be unique only per unit, not in the whole page.
I let you mark the page for translation. -- Pols12 (talk) 16:16, 26 March 2023 (UTC)Reply[reply]
Hello. Thanks for taking a look and fixing that. I wasn't sure the tvar names had to be per-unit or per-page :-) I also tried to keep out of the translate tags the <poem></poem> ones, but the extension doesn't like it. I was wondering if we could use the translate nowrap with these? —MarcoAurelio (talk) 16:22, 26 March 2023 (UTC)Reply[reply]
We could exclude poem tags with the following syntax:
<poem style="font-style: italic">
But translators would not know they are translating a poem. Also, some languages avoid italic formatting, so translator should be able to remove it.
I think the nowrap attribute is useless here, as long as there are no empty line inside the poem: if it is not translated, the whole poem will be wrapped inside <div lang="en">, that should not cause any issue.
-- Pols12 (talk) 16:35, 26 March 2023 (UTC)Reply[reply]
Thank you. I'll wait a bit before marking it for translation just in case. Many thanks for your help. —MarcoAurelio (talk) 18:22, 26 March 2023 (UTC)Reply[reply]
So... this is not going as expected. See Wikipediholic/de. Importing these pre-Translate translations is breaking some stuff. I think I'll revert and leave things as they were :-( —MarcoAurelio (talk) 21:26, 26 March 2023 (UTC)Reply[reply]
I’m sorry, but I don’t understand what you expect with PageMigration. The pages had not the same structure, so they cannot be aligned automatically. Actually they even seem to not being translations. PageMigration can help to restore some contents which are actual translations, but we cannot keep distinct contents through translation pages using Translate. -- Pols12 (talk) 21:49, 26 March 2023 (UTC)Reply[reply]
I was working under the assumption (it's been a while I last used PageMigration) that I could restore the old text before enabling page translation swapping and deleting translation units using that special page. I've restored everything as it was before, except for the page moves which I'll leave since it allows me to use the {{languages}} template and get rid of {{wikipediholic}}. Apologies for the inconvenience. —MarcoAurelio (talk) 22:04, 26 March 2023 (UTC)Reply[reply]
I think that may be possible, but that would create fake translations for the units. If we expect the page to be synced, the English text is better than previous “custom” text, in my opinion.
No inconvenience at all for me, don’t worry. 🙂 -- Pols12 (talk) 22:14, 26 March 2023 (UTC)Reply[reply]

Text update - Human rights team meta page[edit]

Hi @Pols12 I hope you are well. First of all, thank you kindly for all your work in making the Team's page translation friendly. To that end I am reaching out because we are hoping to update the text of the Overview tab to better reflect the work that we are doing (the current version was drafted almost 1.5 years ago). Before I proceed to tinkering around, I wanted to ask for your guidance. I was initially thinking I could edit the page within the translation tags, but I am quite lost with that. Or do I delete the tags and one would have add them at a later for a fresh translation in other languages? A heartfelt thank you for your help in advance. Best regards, MFischer (WMF) (talk) 11:58, 12 April 2023 (UTC)Reply[reply]

(You posted on my 2022 archive, I moved the discussion here.)
Thank you for contacting me. 🙂 Actually, for each paragraph, you should decide whether to display English text or outdated translation while the up-to-date translation is available:
  • If the new text is fully different from the older one, you should remove the unit marker (<!--T:xx-->). The translation will be replaced with English text while no new translation is available.
  • If the new text has only some changes, you should keep the unit marker: the translation will be highlighted as “obsolete”, but it will still display.
  • If you move a paragraph elsewhere on the page, keep the unit marker along with the text to preserve translations.
I hope that helps! --Pols12 (talk) 12:38, 12 April 2023 (UTC)Reply[reply]
Aha, noted. Amazing! This helps a lot. Thank you so much @Pols12 🙂 MFischer (WMF) (talk) 13:48, 12 April 2023 (UTC)Reply[reply]

Wikimédia Tunisie pour traduction[edit]


Merci d'avoir marqué quelques sous-pages de Wikimédia Tunisie pour traduction. Serait-ce possible de faire la même chose pour la page principale (Wikimedia Tunisie) ? Une traduction avait été entamée mais le contenu original en anglais avait ensuite changé, il est stable désormais. Moumou82 (talk) 21:24, 17 April 2023 (UTC)Reply[reply]

Oui, je suis en train de regarder ça. 🙂 Je pense juste faire quelques changements de wikification avant. -- Pols12 (talk) 21:40, 17 April 2023 (UTC)Reply[reply]
Yes check.svg Done Voilà! N’hésite pas à me redire s’il y a un souci. -- Pols12 (talk) 22:27, 17 April 2023 (UTC)Reply[reply]

Thank you for your sharing your knowledge around css[edit]

Dear @Pols12, I wanted to thank you for your edits on this css template that I recently created. I am trying to learn some basic css skills and your edit helped me solve an issue I was struggling with for some time: combining css formating with the pre-defined title formating on Meta. Thanks for that and for fixing some of my translation markups too! Eva Martin (WMDE) (talk) 13:04, 18 April 2023 (UTC)Reply[reply]

I’m happy my edits are helpful. CSS are sometimes complex to understand. Actually, TemplateStyles sheets are expected to ever override defaults styles since the .mw-parser-out class is automatically added, given them a higher weight. But a higher weight cannot override a more specific selector. E.g. if you add a global wrapper which change the font color, the headings will not inherit the color from the global wrapper because a specific color rule exists for headings in the default style sheet. -- Pols12 (talk) 14:11, 18 April 2023 (UTC)Reply[reply]
Thanks for sharing this very helpful link and providing additional information on TemplateStyles sheets. Eva Martin (WMDE) (talk) 14:21, 18 April 2023 (UTC)Reply[reply]

Thank you![edit]

Thank you for helping fixing the scholarship page! Could you help fix it again with the new update? Thanks so much for the help! Tofeiku (talk) 05:30, 4 May 2023 (UTC)Reply[reply]

Yes check.svg Done I have marked your changes for translation. Please do not manually touch the unit markers (<!--T:XX-->) since they are automatically handled. You may remove it if you remove the following paragraph or previous heading, but do not change the unit Id, that would switch translation unit contents. 😉 -- Pols12 (talk) 19:59, 5 May 2023 (UTC)Reply[reply]

Help with translation[edit]

Hi, thanks a lot for marking the ldp pages for translation. I'm learning a lot from your changes. I've tagged this page for translation. Can you please check it and provide suggestions and mark it if it's ready? And I'm trying to use this page as a template (using {{ːLeadership Development Working Group/LDP/Feedback Invitation message}} here on this page and will remove the same text from there. It's because we are sending mail invitations in english and will keep translations in this meta page and refer non-english speakers here so that non-english speakers can also understand our invitation message. Will add the message on the "participation" page as a template for documentation purpose. But for now, adding this as a template is breaking the codes, I tried it once. Can you please look into this matter? TIA, I'm really learning a lot about translation syntaxes from your changes. BIDROHI Hello.. 11:16, 19 May 2023 (UTC)Reply[reply]

+ please also take a look at Leadership Development Working Group/Content/ldp summary. Not sure why the caption for the big diagram is not showing up on screen. ─ The Aafī (talk) 12:13, 19 May 2023 (UTC)Reply[reply]
  • I have marked Invitation message for translation: it was well prepared, good job! (Besides, you may want to use {{@}} template to limit spam.)
  • I don’t see the message content on the page you linked. To transclude a translatable template, it must be marked for translation. So, you should now be able to transclude it. If you meet an issue again, please ping me. 🙂
  • @TheAafi, the caption is displayed while hovering. If you expect a bottom caption, you need to provide thumb parameter to the File call.
-- Pols12 (talk) 13:24, 19 May 2023 (UTC)Reply[reply]
Thank you @Pols12. Looking forward to see you at Wikimania if you are attending. ─ The Aafī (talk) 16:44, 19 May 2023 (UTC)Reply[reply]
Hi again, @Pols12.
Thanks a lot for marking the message page.
You didn't find my edit because I only did a preview instead of publishing out of fear that it would break the page. Now I've done it and the only problem there is <languages/> template is being presented again since it's also present in the main template page ː) -- BIDROHI Hello.. 18:01, 19 May 2023 (UTC)Reply[reply]
I have added <noinclude> arround the language bar, that should solve this issue. 🙂 -- Pols12 (talk) 15:10, 20 May 2023 (UTC)Reply[reply]