Help talk:Templates: Difference between revisions

→‎Template localisation: As parts of the discussion begun to refer to more than just Help:Templates, it was moved to http://wiki.flightgear.org/index.php?title=FlightGear_wiki:Village_pump&oldid=88123#Template_translations
(→‎Template localisation: clarification)
(→‎Template localisation: As parts of the discussion begun to refer to more than just Help:Templates, it was moved to http://wiki.flightgear.org/index.php?title=FlightGear_wiki:Village_pump&oldid=88123#Template_translations)
Line 28: Line 28:
::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 21:54, 8 October 2015 (EDT)
::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 21:54, 8 October 2015 (EDT)


:: Awesome, the {{tl|WIP}} translation as seen on [[Fr/FGAddon]] works beautifully :)  I hope I don't break things!  Unfortunately I cannot edit and translate {{tl|Note}}.  It says: ''"You do not have permission to edit this page, for the following reason:  This page has been protected from editing because it is included in the following page, which is protected with the "cascading" option turned on:  [[FlightGear Newsletter April 2015]]"''.  Is there a way to unlock it?  For French it doesn't need changing, but translations are needed for other languages.
: ''Parts of the discussion was moved to [[FlightGear wiki:Village pump#Template translations]] ([http://wiki.flightgear.org/index.php?title=FlightGear_wiki:Village_pump&oldid=88123#Template_translations perm]), as it begun to refer to more than just [[Help:Templates]].''
:: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 08:25, 8 October 2015 (EDT)
 
::: Hooray accidentally enabled "cascading" there, I've disabled it now, so please try again.
::: [[User:Gijs|Gijs]] ([[User talk:Gijs|talk]]) 10:48, 8 October 2015 (EDT)
 
:::: Cheers, that worked.  I have now translated {{tl|WIP}}, {{tl|note}}, {{tl|caution}}, {{tl|warning}}, and {{tl|BeingTranslated}} to be available in English, French, and German.  Not being a French or German native speaker, there is room for improvement here.
:::: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 11:00, 8 October 2015 (EDT)
 
:::: I've now also translated the {{tl|tip}} template into French and German.  Are there any more from the {{tl|tip}}, {{tl|note}}, {{tl|caution}}, {{tl|warning}}, {{tl|BeingTranslated}} series?  I'd like to add an example section in [[Help:Templates]] to help reveal the colourful existence of this useful set of related templates.
:::: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 06:40, 9 October 2015 (EDT)
 
:::: Something like:
:::: {{BeingTranslated}}
:::: {{tip|If you do it this way, your life will be easier.}}
:::: {{note|Do not forget to run this command.}}
:::: {{caution|If you run this command incorrectly, your harddrive will be erased.}}
:::: {{warning|Do not delete all FGAddon aircraft.}}
:::: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 06:49, 9 October 2015 (EDT)
 
::::: There is a gallery with templates, [[Help:Gallery of messagebox templates]], showing examples of (hopefully) all the ''messagebox'' templates.  See also the [[Help talk:Gallery of messagebox templates#Splitting up the examples based on placement|note]] on its discussion page.  I guess the galleries can be advertised more. ;-)
::::: Regarding the very varying style of all of them, I was at one time working on improving that, see [[User:Johan G/Messagebox style sandbox]], but I somehow got discouraged and/or distracted...
::::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 11:54, 9 October 2015 (EDT)
 
:::::: I just made the galleries a tiny bit easier to find on the Help page (http://wiki.flightgear.org/index.php?title=Help:Templates&diff=88101&oldid=88044).  These galleries are prefect for creating translated galleries, to help with the translation process.  All new wiki contributors should be pointed to them.  Keep up the brilliant work with these things, they are really useful!
:::::: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 12:33, 9 October 2015 (EDT)
 
::::::: That is great.  Those "translated" galleries would indeed be perfect for that.
::::::: When translating the templates though, could you add the '''lang=''' parameter to them as well, by adding <code><nowiki>| lang = {{{lang|}}}</nowiki></code> to the end of them (see {{tl|LangSwitch}}).  That way you could simply add for example <code><nowiki>| lang = {{{lang|</nowiki>'''fr'''<nowiki>}}}</nowiki></code> to the end of a template in order to review the French translation while working on it.  Just remember to remove the <code><nowiki>fr</nowiki></code> before saving though. ;-)
::::::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 14:33, 9 October 2015 (EDT)