<?xml version="1.0" encoding="UTF-8"?>
<config>
	<help key="Languages:_Options"/>
	<fieldset
		name="fallback"
		label="COM_LANGUAGES_CONFIG_FALLBACK_FIELDSET_LABEL"
		description="COM_LANGUAGES_CONFIG_FALLBACK_FIELDSET_DESC"
		>

		<field
			name="fallback_overrides"
			type="subform"
			label="COM_LANGUAGES_CONFIG_FALLBACK_OVERRIDES_LABEL"
			description="COM_LANGUAGES_CONFIG_FALLBACK_OVERRIDES_DESC"
			multiple="true"
			layout="joomla.form.field.subform.repeatable-table"
			>
			<form>
				<field
					name="tag"
					type="text"
					label="COM_LANGUAGES_CONFIG_FALLBACK_TAG_LABEL"
					description="COM_LANGUAGES_CONFIG_FALLBACK_TAG_DESC"
					filter="cmd"
					hint="de-CH"
                    required="true"

				/>

				<field
					name="fallback"
					type="text"
					label="COM_LANGUAGES_CONFIG_FALLBACK_TARGET_LABEL"
					description="COM_LANGUAGES_CONFIG_FALLBACK_TARGET_DESC"
					filter="cmd"
					hint="de-DE"
           			required="true"
			/>
			</form>
		</field>
	</fieldset>
	<fieldset
		name="permissions"
		label="JCONFIG_PERMISSIONS_LABEL"
		>

		<field
			name="rules"
			type="rules"
			label="JCONFIG_PERMISSIONS_LABEL"
			filter="rules"
			validate="rules"
			component="com_languages"
			section="component"
		/>

		<field
			type="hidden"
			name="site"
		/>

		<field
			type="hidden"
			name="administrator"
		/>
	</fieldset>
</config>
