<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.joomla.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.joomla.org/index.php?title=Language_form_field_type&amp;feed=atom&amp;action=history</id>
		<title>Language form field type - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.joomla.org/index.php?title=Language_form_field_type&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=Language_form_field_type&amp;action=history"/>
		<updated>2013-06-19T06:44:43Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.3</generator>

	<entry>
		<id>http://docs.joomla.org/index.php?title=Language_form_field_type&amp;diff=58368&amp;oldid=prev</id>
		<title>Mvangeest: Created page for form field type</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=Language_form_field_type&amp;diff=58368&amp;oldid=prev"/>
				<updated>2011-05-21T12:28:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page for form field type&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Image:Params.language.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
{{Ambox|type=notice|text=In Joomla! 1.5, [[Form field|form fields]] were [[Parameter|parameters]]. For that version, you may want to use the corresponding [[Languages parameter type]].}}&lt;br /&gt;
&lt;br /&gt;
The '''languages''' form field type provides a drop down list of the installed languages for the Front-end or Back-end. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected. The value saved is the language tag.  For example, for English (United Kingdom) this will be 'en-GB'.&lt;br /&gt;
&lt;br /&gt;
The first option on the list is always '- Select Language -' (which is a translatable string) and is given the value 0.&lt;br /&gt;
&lt;br /&gt;
* '''type''' (mandatory) must be ''language''.&lt;br /&gt;
* '''name''' (mandatory) is the unique name of the field.&lt;br /&gt;
* '''label''' (mandatory) (translatable) is the descriptive title of the field.&lt;br /&gt;
* '''client''' (mandatory) is the application whose installed languages will be listed. Use site when you want to list the Front-end languages or administrator when you want to list the Back-end languages.&lt;br /&gt;
* '''default''' (optional) is the default language tag.  For example, 'en-GB'.&lt;br /&gt;
* '''description''' (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.&lt;br /&gt;
&lt;br /&gt;
Example XML parameter definition:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;field name=&amp;quot;mylanguage&amp;quot; type=&amp;quot;language&amp;quot; client=&amp;quot;site&amp;quot; default=&amp;quot;en-GB&amp;quot; label=&amp;quot;Select a language&amp;quot; description=&amp;quot;&amp;quot; /&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [[Standard form field types|List of standard form field types]]&lt;br /&gt;
[[Category:Standard form field types]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mvangeest</name></author>	</entry>

	</feed>