Template talk:Translated tag
{{lcfirst:{{BASEPAGENAME}}}}[edit]
Hello. The lcfirst
here look strange sometime, maybe its better to remove it. Example on Template:PD-Polishsymbol/fr where we can see « pD-Polishsymbol ». ~ bayo or talk 08:29, 8 July 2008 (UTC)
- You are completely right, I removed it. --Mormegil (talk) 14:58, 8 July 2008 (UTC)
- Oops, didn't think about that. :) Rocket000 (talk) 18:14, 8 July 2008 (UTC)
Please add class[edit]
Please add to the first div here class="translatedTag" . thanks, ערן (talk) 14:26, 12 September 2009 (UTC)
English message should be displayed only when no translation is defined[edit]
{{editprotected}}
Otherwise it ends up being displayed twice - <div> with the English message should be put in the else part of the #if looking up the translation. « Saper // @talk » 19:35, 27 September 2010 (UTC)
- Can you show me where it's displayed twice? The reason English is always shown is because it's designed with non-logged-in users in mind (since they're probably the ones that need this message the most). It's not autotranslated. The translation shown is based on the template itself. Rocket000 (talk) 23:53, 27 September 2010 (UTC)
- No response. Not done. Rocket000 (talk) 00:52, 23 October 2010 (UTC)
Translating the note[edit]
Is it possible to translate the "NOTE: Please do not use this template directly! ..." message? It would be useful. – BáthoryPéter (talk) 09:47, 23 November 2010 (UTC)
Really :) Maybe it was a cache bug. – BáthoryPéter (talk) 13:21, 23 November 2010 (UTC)
Edit request[edit]
{{Edit protected}} Category:Marker templates -> Category:Internationalised documentation templates. Rd232 (talk) 17:02, 15 June 2011 (UTC)
- Done − note that categories are transcluded from the documentation subpage, which is not protected. Jean-Fred (talk) 18:06, 15 June 2011 (UTC)
Edit request : Solving a linter identified coding glitch...[edit]
<div>{{lang|en|'''''NOTE:'' Please do ''not'' use this template directly! This is just for translation.<!--
should read
<div>{{lang|en|'''''NOTE:'' Please do ''not'' use this template directly! This is just for translation.'''<!--
ShakespeareFan00 (talk) 11:13, 8 January 2021 (UTC)
- @ShakespeareFan00: Done, although not exactly the proposed way—the tag was normally closed, it was unclosed only outside of the template namespace. —Tacsipacsi (talk) 00:57, 10 January 2021 (UTC)
Edit request: autotranslate with the Translate Extension[edit]
I want replace code:
{{#ifexist:Template:Translated tag/{{{lang|{{SUBPAGENAME}}}}}<!-- check if we have a translation --> | {{Translated tag/{{{lang|{{SUBPAGENAME}}}}}|{{{template|{{#ifexist:{{BASEPAGENAME}}|{{BASEPAGENAME}}|{{#titleparts:{{PAGENAME}}|1}}}}}}}}} }} <div>{{lang|en|'''''NOTE:'' Please do ''not'' use this template directly! This is just for translation.<!-- -->{{#ifeq:{{NAMESPACE}}|{{ns:10}}<!-- leave this part out on non-template pages because it won't make sense --> | Use {{tl|{{{template|{{#ifexist:{{BASEPAGENAME}}|{{BASEPAGENAME}}|{{#titleparts:{{PAGENAME}}|1}}}}}}}}} instead! }}'''<!-- -->}}</div>
to the
<b>{{ {{TNTN| Translated tag/i18n|uselang={{int:lang}} }}|template = {{{template|{{#ifexist:{{BASEPAGENAME}}|{{BASEPAGENAME}}|{{#titleparts:{{PAGENAME}}|1}}}}}}}}}</b>
Before this, all existed translations will be moved into subpages of {{Translated tag/i18n}} and migrated to Translate extension. Done
- Proposed result: warning message for users will be seen always in their user interface language (if translation is exist), instead to defining language by subpage name
- Benefits:
- unified manageable code for all subpages;
- more clear and transparent workflow for appending new languages
- further more easy unification and exchange translations with the other multilanguage wikis
Needs approving for start migration. See testcase in the {{Translated tag/Sandbox}} (works for the English and Deutche uI language). --Kaganer (talk) 17:56, 3 February 2022 (UTC)
- Working AntiCompositeNumber (talk) 15:56, 14 February 2022 (UTC)
- @Kaganer: Done Pages moved, marked for translation, imported, and main template updated. Please test and make sure everything is working as intended. --AntiCompositeNumber (talk) 17:45, 14 February 2022 (UTC)
- @AntiCompositeNumber look good! Very thanks! I thought that I myself would have to do the migration. You could easily have left that part to me (but I'm happy I didn't ;) --Kaganer (talk) 18:33, 14 February 2022 (UTC)
- @Kaganer: Done Pages moved, marked for translation, imported, and main template updated. Please test and make sure everything is working as intended. --AntiCompositeNumber (talk) 17:45, 14 February 2022 (UTC)