<?xml version="1.0" encoding="utf-16" standalone="yes"?>
<items>
  <item category="Swift-v2/Paragraphs/Navigation" name="Language selector" systemName="Swift-v2_LanguageSelector" description="" icon="Globe" iconColor="None" image="" includeInUrlIndex="False" pageDefaultView="item" paragraphDefaultModule="" fieldForTitle="" title="" inherits="">
    <fields>
      <field name="Text Label" systemName="Label" description="Custom text label on the language selector button - can be used to supersede language name. If enabled, the label will be shown." type="System.String, System.Private.CoreLib" excludeFromSearch="True" defaultValueCulture="en-DK" defaultValue="">
        <editor type="Dynamicweb.Content.Items.Editors.TextEditor, Dynamicweb">
          <editorConfuguration><Parameters addin="Dynamicweb.Content.Items.Editors.TextEditor"><Parameter addin="Dynamicweb.Content.Items.Editors.TextEditor" name="ShowToggle" value="True" /></Parameters></editorConfuguration>
        </editor>
      </field>
      <field name="Icon" systemName="Icon" description="Would you like to show an icon and not a flag? Select one of the following icons." type="System.String, System.Private.CoreLib" excludeFromSearch="True" defaultValueCulture="en-US" defaultValue="">
        <editor type="Dynamicweb.Content.Items.Editors.VisualSelectListEditor`1, Dynamicweb">
          <editorConfuguration><Parameters addin="Dynamicweb.Content.Items.Editors.VisualSelectListEditor`1[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" /></editorConfuguration>
        </editor>
        <options sourceType="Folder">
          <Folder folder="/Files/Images/Icons" />
        </options>
      </field>
      <field name="Show language name" systemName="ShowLanguageName" description="Show the language name on the language selector button (if custom title is not enabled)" type="System.Boolean, System.Private.CoreLib" excludeFromSearch="True" defaultValueCulture="en-DK" defaultValue="True">
        <editor type="Dynamicweb.Content.Items.Editors.CheckboxEditor, Dynamicweb">
          <editorConfuguration><Parameters addin="Dynamicweb.Content.Items.Editors.CheckboxEditor" /></editorConfuguration>
        </editor>
      </field>
      <field name="Show language currency" systemName="ShowLanguageCurrency" description="Show the language currency on the language selector button" type="System.Boolean, System.Private.CoreLib" excludeFromSearch="True" defaultValueCulture="en-DK" defaultValue="False">
        <editor type="Dynamicweb.Content.Items.Editors.CheckboxEditor, Dynamicweb">
          <editorConfuguration><Parameters addin="Dynamicweb.Content.Items.Editors.CheckboxEditor" /></editorConfuguration>
        </editor>
      </field>
      <field name="Hide language flag" systemName="HideLanguageFlag" description="Hide the language flag on the language selector button" type="System.Boolean, System.Private.CoreLib" excludeFromSearch="True" defaultValueCulture="en-DK" defaultValue="False">
        <editor type="Dynamicweb.Content.Items.Editors.CheckboxEditor, Dynamicweb">
          <editorConfuguration><Parameters addin="Dynamicweb.Content.Items.Editors.CheckboxEditor" /></editorConfuguration>
        </editor>
      </field>
      <field name="Select format to display" systemName="LanguageNameFormat" description="" type="System.String, System.Private.CoreLib" excludeFromSearch="False" defaultValueCulture="da-DK" defaultValue="long">
        <editor type="Dynamicweb.Content.Items.Editors.RadioButtonListEditor`1, Dynamicweb">
          <editorConfuguration><Parameters addin="Dynamicweb.Content.Items.Editors.RadioButtonListEditor`1[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"><Parameter addin="Dynamicweb.Content.Items.Editors.RadioButtonListEditor`1[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" name="ItemTemplate" value="" /><Parameter addin="Dynamicweb.Content.Items.Editors.RadioButtonListEditor`1[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" name="LabelPosition" value="0" /><Parameter addin="Dynamicweb.Content.Items.Editors.RadioButtonListEditor`1[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" name="IconPosition" value="0" /><Parameter addin="Dynamicweb.Content.Items.Editors.RadioButtonListEditor`1[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" name="IconMaxWidth" value="0" /><Parameter addin="Dynamicweb.Content.Items.Editors.RadioButtonListEditor`1[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" name="IconMaxHeight" value="0" /></Parameters></editorConfuguration>
        </editor>
        <options sourceType="Static">
          <Static>
            <option name="Short (Two letter ISO region name)" value="short" icon="" />
            <option name="Long (Language native name)" value="long" icon="" />
          </Static>
        </options>
      </field>
    </fields>
    <rules>
      <rule name="Allow in websites" type="Dynamicweb.Content.Items.Activation.AreaRestrictionRule, Dynamicweb" value="*" />
      <rule name="" type="Dynamicweb.Content.Items.Activation.ChildItemTypeRestrictionRule, Dynamicweb" value="" />
      <rule name="Allowed children" type="Dynamicweb.Content.Items.Activation.ChildRestrictionRule, Dynamicweb" value="" />
      <rule name="Allowed parents" type="Dynamicweb.Content.Items.Activation.ParentItemTypeRestrictionRule, Dynamicweb" value="Swift-v2_Footer,Swift-v2_Header" />
      <rule name="Allowed parent types" type="Dynamicweb.Content.Items.Activation.ParentRestrictionRule, Dynamicweb" value="RootOfWebsite" />
      <rule name="Allow in tree sections" type="Dynamicweb.Content.Items.Activation.SectionRestrictionRule, Dynamicweb" value="" />
      <rule name="Enable item type for" type="Dynamicweb.Content.Items.Activation.StructureRestrictionRule, Dynamicweb" value="Paragraphs" />
    </rules>
    <layout>
      <groups>
        <group name="Language selector settings" systemName="Settings" sectionName="" collapsibleState="None" visibilityField="" visibilityCondition="" visibilityConditionValueType="" visibilityConditionValue="">
          <fields>
            <field systemName="ShowLanguageName" />
            <field systemName="ShowLanguageCurrency" />
            <field systemName="HideLanguageFlag" />
          </fields>
        </group>
        <group name="Language name format" systemName="LanguageNameFormat" sectionName="" collapsibleState="Expanded" visibilityField="ShowLanguageName" visibilityCondition="0" visibilityConditionValueType="" visibilityConditionValue="1">
          <fields>
            <field systemName="LanguageNameFormat" />
          </fields>
        </group>
        <group name="Language selector label" systemName="Label" sectionName="" collapsibleState="Expanded" visibilityField="ShowLanguageName" visibilityCondition="0" visibilityConditionValueType="" visibilityConditionValue="0">
          <fields>
            <field systemName="Label" />
          </fields>
        </group>
        <group name="Language selector icon" systemName="Icon" sectionName="" collapsibleState="Expanded" visibilityField="HideLanguageFlag" visibilityCondition="0" visibilityConditionValueType="" visibilityConditionValue="1">
          <fields>
            <field systemName="Icon" />
          </fields>
        </group>
      </groups>
    </layout>
  </item>
</items>