Difference between revisions of "Help talk:Translation switching"

From Team Fortress Wiki
Jump to: navigation, search
(Policy on new content wrt {{tl|lang}} ?)
Line 13: Line 13:
 
:We use the common string template to localize strings that are used by many templates or in several different places in the wiki. These strings are pulled from the [[Template:Dictionary|dictionary]], so that it is easy to update all instances of the string across the wiki. Otherwise, if it's just a one off localized string you use the lang template. Hope that helps. '''<span style="font-family:Georgia;font-size:83%;">—[[File:User Moussekateer signature sprite.png|31px|link=User:Moussekateer]][[User:Moussekateer|<span style="color:black">Moussekateer</span>]]·[[User talk:Moussekateer|<span style="color:black;font-size:82%;">talk</span>]]</span>''' 09:34, 18 January 2014 (PST)
 
:We use the common string template to localize strings that are used by many templates or in several different places in the wiki. These strings are pulled from the [[Template:Dictionary|dictionary]], so that it is easy to update all instances of the string across the wiki. Otherwise, if it's just a one off localized string you use the lang template. Hope that helps. '''<span style="font-family:Georgia;font-size:83%;">—[[File:User Moussekateer signature sprite.png|31px|link=User:Moussekateer]][[User:Moussekateer|<span style="color:black">Moussekateer</span>]]·[[User talk:Moussekateer|<span style="color:black;font-size:82%;">talk</span>]]</span>''' 09:34, 18 January 2014 (PST)
 
::Well, that much was easy to guess about the {{tl|common string|Unknown}}.  I'm thinking if everywhere else on the table there is {{tl|lang}} then maybe I should use {{tl|lang}} even if I set in only one language and leave for others to translate what I'm adding? [[User:Mikado282|Mikado282]] ([[User talk:Mikado282|talk]]) 20:58, 18 January 2014 (PST)
 
::Well, that much was easy to guess about the {{tl|common string|Unknown}}.  I'm thinking if everywhere else on the table there is {{tl|lang}} then maybe I should use {{tl|lang}} even if I set in only one language and leave for others to translate what I'm adding? [[User:Mikado282|Mikado282]] ([[User talk:Mikado282|talk]]) 20:58, 18 January 2014 (PST)
 +
:::Yeah, if you don't have any translations just use {{tl|lang}} and leave the en string in there. If the template's used enough, the translators will get the job done in time. '''» [[User:Cooper Kid|<span style="color:red">Coo</span><span style ="color:gray">per</span><span style ="color:blue"> Kid</span>]]''' <small>([[User_talk:Cooper Kid|blether]]) • ([[Special:Contributions/Cooper Kid|contreebs]])</small> 03:52, 23 January 2014 (PST)

Revision as of 11:52, 23 January 2014

Policy on new content wrt {{lang}} ?

I am intending to add English text to an existing table. That table contains a mix of {{lang}} and {{common string}}. Is there a policy or convention on this? When I replace the {{common string}}, should I

1) just type in my text

or

2) do this:
{{lang
| en = my text
}}

The table has a lot of "unknown", but wherever {{lang}} is used, that template is well populated. Which way is best? Which will best prompt translators to do their translating? (I have some experience with wikipedia, but new to TF2 wiki, and can only make guesses at reading German or Spanish ) Mikado282 (talk) 09:19, 18 January 2014 (PST)

We use the common string template to localize strings that are used by many templates or in several different places in the wiki. These strings are pulled from the dictionary, so that it is easy to update all instances of the string across the wiki. Otherwise, if it's just a one off localized string you use the lang template. Hope that helps. User Moussekateer signature sprite.pngMoussekateer·talk 09:34, 18 January 2014 (PST)
Well, that much was easy to guess about the {{common string}}. I'm thinking if everywhere else on the table there is {{lang}} then maybe I should use {{lang}} even if I set in only one language and leave for others to translate what I'm adding? Mikado282 (talk) 20:58, 18 January 2014 (PST)
Yeah, if you don't have any translations just use {{lang}} and leave the en string in there. If the template's used enough, the translators will get the job done in time. » Cooper Kid (blether) • (contreebs) 03:52, 23 January 2014 (PST)