Commons:Translators' noticeboard

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 2 days and sections whose most recent comment is older than 300 days. For the archive overview, see Archive/. The latest archive is located at Archive/2024.
Translators' noticeboard
Translators' noticeboard

This is a noticeboard for all matters regarding translation of pages, and a meeting place for the translation administrators. Useful links: Documentation for the translation extension, Tutorial for translators. See also the sisterpage m:Meta talk:Babylon.

Shortcut: COM:TN


Gallery's and filenames in translation[edit]

I was just going through Commons:Threshold of originality and did some tweaks. It appears that the entire gallery is wrapped in translate tags when it should be just the captions. If someone gets sometime, do help taking care of this. ─ The Aafī (talk) 16:09, 4 January 2024 (UTC)Reply[reply]

This also appears with some wikitables and Charts used on the page. ─ The Aafī (talk) 16:15, 4 January 2024 (UTC)Reply[reply]
@Pols12, do you happen to have some time to help with this? I did some tweaks a while ago and removed some unwarranted stuff out of translation. ─ The Aafī (talk) 07:58, 6 January 2024 (UTC)Reply[reply]
Sorry The Aafī, tweaking this page segmentation would require to also quickly update translation pages. I haven’t enough time to proceed, especially since I’m not a Tadmin on Commons and since Italian translation is not up-to-date. -- Pols12 (talk) 14:25, 6 January 2024 (UTC)Reply[reply]
@TheAafi and Pols12: The pages Commons:Threshold of originality/be-tarask, Commons:Threshold of originality/id, and Commons:Threshold of originality/pt-br, are also broken somehow. They are at Category:Pages with too many expensive parser function calls. --Jarekt (talk) 13:19, 5 February 2024 (UTC)Reply[reply]
@Jarekt: Thanks for the report. I will take care of fixing some errors that are caused by the translation markup updates. ─ Aafī (talk) 13:43, 5 February 2024 (UTC)Reply[reply]
That’s probably because of massive use of {{Pg}}. Though, I don’t understand why not all translations are affected. Maybe because of some heavier or lighter fallbacks. -- Pols12 (talk) 20:26, 6 February 2024 (UTC)Reply[reply]

Lua errors and template loops on translated pages[edit]

The following translated pages have some lua errors (Category:Pages with script errors), template loops (Category:Pages with template loops) or some other template issues (Category:Pages with too many expensive parser function calls). It seems like the english versions of the same pages don't have the same issue. Can someone compare the translations to the originals and fix the template calls in translations, or even better keep text to translate separate from template calls.

Jarekt (talk) 13:15, 5 February 2024 (UTC)Reply[reply]

On some pages, I don't see any translations that need to be updated. There's nothing at Commons:When to use the PD-Art tag/ar that I could see. Similarly, on Commons:Copyright tags/General public domain/ar, there is only one paragraph translated. Rest is everything from the English version. Perhaps our template masters and expert TAs would be able to detect where this is coming from. @Ameisenigel and @Tacsipacsi: do you apparently see any problem? ─ Aafī (talk) 14:07, 5 February 2024 (UTC)Reply[reply]
The problem is indeed not a new one. We have had a similar discussion quite some time ago ([1]). Unfortunately I do not know the solution for these problems. --Ameisenigel (talk) 14:59, 5 February 2024 (UTC)Reply[reply]
@TheAafi and Ameisenigel: I was just looking at Commons:Copyright tags/General public domain/ar. I think the issue is trigered by use of {{Pg}} in page name translation of Commons:Reuse_of_PD-Art_photographs/ar. How do we fix it? --Jarekt (talk) 04:25, 6 February 2024 (UTC)Reply[reply]
I fixed the page name translation and it doesn't help. One of the reasons that might be causing this error is keeping too much codes and stuff inside translation markup. However, this requires a lot of manual working. ─ Aafī (talk) 05:40, 6 February 2024 (UTC)Reply[reply]
@TheAafi: That fixed the issue on Commons:Copyright tags/General public domain/ar and Commons:When to use the PD-Art tag/ar pages. Thanks. --Jarekt (talk) 18:41, 6 February 2024 (UTC)Reply[reply]

Autotranslate Lua module fails on template's copy[edit]

I want to copy the popular {{Welcome}} template, so I create {{Welcome-LL}} by copy-paste of the various base page.

Original Copy
{{Welcome}} {{Welcome-LL}}
{{Welcome/doc}} {{Welcome-LL/doc}}
{{Welcome/layout}} {{Welcome-LL/layout}}
{{Welcome/i18n/lang}} {{Welcome-LL/i18n/lang}} (edited)
{{Welcome/i18n}} {{Welcome-LL/i18n}} (edited)
{{Welcome/i18n/en}} [EDIT:](Fuzzybot generated) {{Welcome-LL/i18n/en}} (not copied to keep the place clean for FuzzyBot)

I get the error message below, can someone help ?

Code Result
{{Welcome-LL}} Lua error in Module:Autotranslate at line 67: No fallback page found for autotranslate (base=Template:Welcome-LL/i18n, lang=en).

[EDIT] I don't see where to declare the fall back `en` since {{Welcome/i18n/en}} is Fuzzybot generated, likely from /i18n which seems the actual source.

Another avenue would be : this template is too recent, just few 2 hours, so the autotranslation is not active and requires a translation admin to activate it ? (not sure it works this way)

Yug (talk) 15:31, 8 February 2024 (UTC)Reply[reply]

Checking this out. Yug (talk) 16:21, 8 February 2024 (UTC)Reply[reply]
Oh, not copied because seems to be Fuzzybot generated, it also contains duplication of the {templatename}/i18n page, which seems the actual source. Yug (talk) 16:23, 8 February 2024 (UTC)Reply[reply]
According to Commons:Preparing a page for translation, it is needed to "Mark the page for translation (you must be translation admin for doing so)". Maybe it's that. Yug (talk) 17:34, 8 February 2024 (UTC)Reply[reply]
@Yug: This simply meant that {{Welcome-LL/i18n}} was to be marked for translation. I have done it and the issue is fixed now. Do let me know if there is any other issue you need help with. Best regards, ─ Aafī (talk) 18:08, 8 February 2024 (UTC)Reply[reply]
It works for translations. But translations if they are done actually duplicate messages of the initial template. Should not propagate this -LL file for translations now. -- Christian 🇫🇷 FR (talk) 18:35, 8 February 2024 (UTC)Reply[reply]
I was unaware of this. Thank you.
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. ─ Aafī (talk) 18:12, 8 February 2024 (UTC)