Help talk:Templates: Difference between revisions

Jump to navigation Jump to search
(→‎Template localisation: Those "translated" galleries are great; When translating templates, could you add the "lang=" parameter to them as well?)
(→‎Template localisation: clarification)
Line 56: Line 56:


::::::: That is great.  Those "translated" galleries would indeed be perfect for that.
::::::: 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 it while working on the translation.  Just remember to remove the <code><nowiki>fr</nowiki></code> before saving though. ;-)
::::::: 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)
::::::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 14:33, 9 October 2015 (EDT)

Navigation menu