<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ALang2iso%2Fdoc</id>
	<title>Template:Lang2iso/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ALang2iso%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:Lang2iso/doc&amp;action=history"/>
	<updated>2026-11-01T09:05:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Template:Lang2iso/doc&amp;diff=114419&amp;oldid=prev</id>
		<title>Wikipedia&gt;JJMC89 bot III: Merging :Category:Database templates to :Category:Conversion templates per Wikipedia:Categories for discussion/Log/2022 November 14#Category:Database templates</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:Lang2iso/doc&amp;diff=114419&amp;oldid=prev"/>
		<updated>2022-11-22T20:24:01Z</updated>

		<summary type="html">&lt;p&gt;Merging &lt;a href=&quot;/w/index.php?title=Category:Database_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Database templates (page does not exist)&quot;&gt;Category:Database templates&lt;/a&gt; to &lt;a href=&quot;/w/index.php?title=Category:Conversion_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Conversion templates (page does not exist)&quot;&gt;Category:Conversion templates&lt;/a&gt; per &lt;a href=&quot;https://en.wikipedia.org/wiki/Categories_for_discussion/Log/2022_November_14#Category:Database_templates&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Categories for discussion/Log/2022 November 14&quot;&gt;Wikipedia:Categories for discussion/Log/2022 November 14#Category:Database templates&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE. --&amp;gt;&lt;br /&gt;
{{High-use}}&lt;br /&gt;
{{Lua|Module:ISO 639 name}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Template:Lang2iso&amp;#039;&amp;#039;&amp;#039; takes an English-language language name (such as &amp;quot;Abkhazian&amp;quot; or &amp;quot;Sinhalese&amp;quot;) and converts it into a two-letter [[ISO 639]] language code. This table&amp;#039;s values are based on [[List of ISO 639-1 codes]]. The template should not be transcluded directly from article namespace. &lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
* {{Tlx|Lang2iso|German}} returns: {{Lang2iso|German}}&lt;br /&gt;
* {{Tlx|Lang2iso|Greek}} returns: {{Lang2iso|Greek}}&lt;br /&gt;
* {{Tlx|Lang2iso|Spanish}} returns: {{Lang2iso|Spanish}}&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
Since most users will know a language&amp;#039;s name but not its ISO code, this template is meant to facilitate invocations of other templates such as [[Template:Lang]]. Thus, instead of recalling (or having to know) that the ISO code for German is &amp;quot;de&amp;quot; and transcluding {{Tlx|Lang|de|Mädchen}}, one can type: {{Tlx|Lang|{{Tlx|Lang2iso|subst=y|German}}|Mädchen}}.&lt;br /&gt;
&lt;br /&gt;
This also reduces the number of parameters that need to be passed to some language routines (such as those similar to [[Template:Language with name]]) since the ISO language code can now be derived from the ISO language name.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|ISO 639 name}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&amp;lt;!--&lt;br /&gt;
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. --&amp;gt;&lt;br /&gt;
[[Category:ISO 639 templates]]&lt;br /&gt;
[[Category:Conversion templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;JJMC89 bot III</name></author>
	</entry>
</feed>