<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://insultplayers.ru/killingfloor/w/index.php?action=history&amp;feed=atom&amp;title=Project%3AAdding_translations</id>
	<title>Project:Adding translations - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://insultplayers.ru/killingfloor/w/index.php?action=history&amp;feed=atom&amp;title=Project%3AAdding_translations"/>
	<link rel="alternate" type="text/html" href="https://insultplayers.ru/killingfloor/w/index.php?title=Project:Adding_translations&amp;action=history"/>
	<updated>2026-09-07T13:25:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://insultplayers.ru/killingfloor/w/index.php?title=Project:Adding_translations&amp;diff=3600&amp;oldid=prev</id>
		<title>Maintenance script: Archived wikitext recovered with documented compatibility adjustments from the WikiTeam export dated 20150707; original revision 26512 and attribution retained</title>
		<link rel="alternate" type="text/html" href="https://insultplayers.ru/killingfloor/w/index.php?title=Project:Adding_translations&amp;diff=3600&amp;oldid=prev"/>
		<updated>2026-09-07T08:30:13Z</updated>

		<summary type="html">&lt;p&gt;Archived wikitext recovered with documented compatibility adjustments from the WikiTeam export dated 20150707; original revision 26512 and attribution retained&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There are two namespaces that need translations: &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;the [https://www.insultplayers.ru/killingfloor/w/index.php?title=Special%3AAllPages&amp;amp;from=&amp;amp;to=&amp;amp;namespace=0 main] (article) namespace and the [https://www.insultplayers.ru/killingfloor/w/index.php?title=Special%3AAllPages&amp;amp;from=&amp;amp;to=&amp;amp;namespace=10 template] namespace.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mainspace ==&lt;br /&gt;
&lt;br /&gt;
In general, you should copy the contents of the English version of the article and paste them into a new article.&lt;br /&gt;
&lt;br /&gt;
Some articles contain template calls, which look like the construction &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{MyName}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{MyName|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;, and should contain the text &amp;#039;&amp;#039;&amp;#039;|lang=xy&amp;#039;&amp;#039;&amp;#039;, where &amp;#039;&amp;#039;xy&amp;#039;&amp;#039; is the [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1 code] for your language.  For example, &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Specimen health chart|1500|375}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; should become &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Specimen health chart|1500|375|lang=xy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;.  If the template still contains English after translating the existing parameters and adding &amp;lt;tt&amp;gt;lang&amp;lt;/tt&amp;gt;, then the template itself must be translated; see [[#Template namespace]].&lt;br /&gt;
&lt;br /&gt;
Suppose the name of the English article is &amp;#039;&amp;#039;[[EnglishName]]&amp;#039;&amp;#039;, and the translation of the name is &amp;#039;&amp;#039;[[ForeignName]]&amp;#039;&amp;#039;.  If an article already exists at [[ForeignName]], then paste the contents into [[EnglishName/xy]].  If not, then paste the contents into [[ForeignName]] and create the page [[EnglishName/xy]] with the content&lt;br /&gt;
: &amp;lt;tt&amp;gt;#REDIRECT [[ForeignName]]&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If a {{tl|Language bar}} exists at the bottom of your page, then change it to &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Language bar|EnglishName|xy}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;.  If it doesn&amp;#039;t, then add one.&lt;br /&gt;
&lt;br /&gt;
== Template namespace ==&lt;br /&gt;
&lt;br /&gt;
Templates are called with the construction &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{TemplateName}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; (no parameters) or &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{TemplateName|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; (one or more parameters).  You can view the template itself at [[Template:TemplateName|Template:&amp;#039;&amp;#039;TemplateName&amp;#039;&amp;#039;]].&lt;br /&gt;
&lt;br /&gt;
In general, templates should not be copypasted (for maintenance&amp;#039;s sake, because they generally consist mostly of markup).&lt;br /&gt;
&lt;br /&gt;
To add translations, two other two templates are used: {{tl|LS}} and {{tl|LL}}.&lt;br /&gt;
&lt;br /&gt;
=== Adding translations ===&lt;br /&gt;
&lt;br /&gt;
==== Predefined translations ====&lt;br /&gt;
&lt;br /&gt;
{{tl|LSG}} and {{tl|LLG}} use a dictionary of frequently used terms; currently, they are perks, specimens, equipment, and maps.  Terms and phrases that are only translated once throughout the entire wiki should not be added to LSG/LLG.&lt;br /&gt;
&lt;br /&gt;
Consider the following template and code:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Farm{{•}} Offices&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Farm{{•}} Offices&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the predefined translations of &amp;quot;Farm&amp;quot; and &amp;quot;Offices&amp;quot;, use the following example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LSG|{{{lang}}}|Farm}}{{•}} {{LSG|{{{lang}}}|Offices}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{TEMPLATE NAME|lang=fr}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; is used, the output is:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LSG|{{{lang|fr}}}|Farm}}{{•}} {{LSG|{{{lang|fr}}}|Offices}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If LLG is used instead of LSG, then the text would be the same but would be linked:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LLG|{{{lang}}}|Farm}}{{•}} {{LLG|{{{lang}}}|Offices}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LLG|{{{lang|fr}}}|Farm}}{{•}} {{LLG|{{{lang|fr}}}|Offices}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Where LS is already used ====&lt;br /&gt;
&lt;br /&gt;
Consider the following template and code:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LS|{{{lang}}}&lt;br /&gt;
    |en=Name}}:&lt;br /&gt;
| {{{name}}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LS|{{{lang}}}&lt;br /&gt;
    |en=Name}}:&lt;br /&gt;
| {{{name}}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To translate &amp;quot;Name&amp;quot; to another language, use the following example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LS|{{{lang}}}&lt;br /&gt;
    |en=Name&lt;br /&gt;
    |fr=Nom}}:&lt;br /&gt;
| {{{name}}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the above code, &amp;#039;&amp;#039;&amp;#039;|fr=Nom&amp;#039;&amp;#039;&amp;#039; was added between &amp;#039;&amp;#039;&amp;#039;|en=Name&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;}}&amp;#039;&amp;#039;&amp;#039;.  When &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{TEMPLATE NAME|lang=fr|name=Killing Floor}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; is used, the output is:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LS|{{{lang|fr}}}&lt;br /&gt;
    |en=Name&lt;br /&gt;
    |fr=Nom}}:&lt;br /&gt;
| {{{name|Killing Floor}}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Where LL is already used ====&lt;br /&gt;
&lt;br /&gt;
Consider the following template and code:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LL|{{{lang|}}}|&lt;br /&gt;
    en=Farm}}{{•}} {{LL|{{{lang|}}}|&lt;br /&gt;
    en=Offices}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LL|{{{lang|}}}|&lt;br /&gt;
    en=Farm}}{{•}} {{LL|{{{lang|}}}|&lt;br /&gt;
    en=Offices}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To translate &amp;quot;Farm&amp;quot; and &amp;quot;Offices&amp;quot; to another language, use the following example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LL|{{{lang|}}}|&lt;br /&gt;
    en=Farm|&lt;br /&gt;
    fr=Ferme}}{{•}} {{LL|{{{lang|}}}|&lt;br /&gt;
    en=Offices|&lt;br /&gt;
    fr=Bureaux}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{TEMPLATE NAME|lang=fr}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; is used, the output is:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LL|{{{lang|fr}}}|&lt;br /&gt;
    en=Farm|&lt;br /&gt;
    fr=Ferme}}{{•}} {{LL|{{{lang|fr}}}|&lt;br /&gt;
    en=Offices|&lt;br /&gt;
    fr=Bureaux}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the above code, pipes were added immediately after &amp;#039;&amp;#039;&amp;#039;en=Farm&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;en=Offices&amp;#039;&amp;#039;&amp;#039;; this is important for {{tl|LL}} because any line breaks between an equal sign and the subsequent pipe will break the links, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LL|{{{lang|}}}&lt;br /&gt;
    |en=Farm&lt;br /&gt;
    |fr=Ferme}}{{•}} {{LL|{{{lang|}}}&lt;br /&gt;
    |en=Offices&lt;br /&gt;
    |fr=Bureaux}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LL|{{{lang|fr}}}&lt;br /&gt;
    |en=Farm&lt;br /&gt;
    |fr=Ferme}}{{•}} {{LL|{{{lang|fr}}}&lt;br /&gt;
    |en=Offices&lt;br /&gt;
    |fr=Bureaux}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Where LS is needed ====&lt;br /&gt;
&lt;br /&gt;
Consider the following template and code:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Name:&lt;br /&gt;
| {{{name}}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Name:&lt;br /&gt;
| {{{name}}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add foreign language support for &amp;quot;Name&amp;quot;, use the following example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{LS|{{{lang}}}&lt;br /&gt;
    |en=Name}}:&lt;br /&gt;
| {{{name}}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the above code, &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039; was replaced with &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{LS|{{{lang}}}|en=Name}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;, and then optional spaces were added before a pipe to tidy up the code.  See [[#Where LS is already used]] to finish adding a translation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;kf-restoration-note&amp;quot;&amp;gt;Archived wikitext recovered with documented compatibility adjustments from the WikiTeam export in the [https://archive.org/details/wiki-kf_wikicom archived KF-Wiki collection] (export 2015-07-07, original revision 26512). Credit: the original KF-Wiki contributors; the linked export preserves the original authorship and revision history. Restoration compatibility adjustment: Historical project namespace mapped to the current Project namespace, and explicit links to the old wiki routed locally. This is dated archival contributor documentation.&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>