<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>
        <menuitem name="Localization" parent="menu_administration"
            id="menu_localization"/>
         <record model="ir.lang" id="lang_bg">
            <field name="code">bg_BG</field>
            <field name="name">Bulgarian</field>
            <field name="date">%d.%m.%Y</field>
            <field name="grouping">[3, 3, 0]</field>
            <field name="decimal_point">,</field>
            <field name="thousands_sep">.</field>
        </record>
        <record model="ir.lang" id="lang_ca">
            <field name="code">ca_ES</field>
            <field name="name">Català</field>
            <field name="date">%d/%m/%Y</field>
            <field name="grouping">[3, 3, 0]</field>
            <field name="decimal_point">,</field>
            <field name="thousands_sep"> </field>
        </record>
        <record model="ir.lang" id="lang_cs">
            <field name="code">cs_CZ</field>
            <field name="name">Czech</field>
            <field name="date">%d.%m.%Y</field>
            <field name="grouping">[3, 3, 0]</field>
            <field name="decimal_point">,</field>
            <field name="thousands_sep"> </field>
        </record>
        <record model="ir.lang" id="lang_de">
            <field name="code">de_DE</field>
            <field name="name">German</field>
            <field name="date">%d.%m.%Y</field>
            <field name="grouping">[3, 3, 0]</field>
            <field name="decimal_point">,</field>
            <field name="thousands_sep">.</field>
        </record>
        <!--
        lang_en is defined in ir.xml
        -->
        <record model="ir.lang" id="lang_ar">
            <field name="code">es_AR</field>
            <field name="name">Spanish (Argentina)</field>
            <field name="date">%d/%m/%Y</field>
            <field name="grouping">[3, 3, 0]</field>
            <field name="decimal_point">,</field>
            <field name="thousands_sep">.</field>
        </record>
        <record model="ir.lang" id="lang_es">
            <field name="code">es_ES</field>
            <field name="name">Spanish (Spain)</field>
            <field name="date">%d/%m/%Y</field>
            <field name="grouping">[3, 3, 0]</field>
            <field name="decimal_point">,</field>
            <field name="thousands_sep">.</field>
        </record>
        <record model="ir.lang" id="lang_es_CO">
            <field name="code">es_CO</field>
            <field name="name">Spanish (Colombia)</field>
            <field name="date">%d/%m/%Y</field>
            <field name="grouping">[3, 3, 0]</field>
            <field name="decimal_point">,</field>
            <field name="thousands_sep"></field>
        </record>
        <record model="ir.lang" id="lang_fr">
            <field name="code">fr_FR</field>
            <field name="name">French</field>
            <field name="date">%d.%m.%Y</field>
            <field name="grouping">[]</field>
            <field name="decimal_point">,</field>
            <field name="thousands_sep"></field>
        </record>
        <record model="ir.lang" id="lang_nl">
            <field name="code">nl_NL</field>
            <field name="name">Dutch</field>
            <field name="date">%d-%m-%Y</field>
            <field name="grouping">[3, 3, 0]</field>
            <field name="decimal_point">,</field>
            <field name="thousands_sep">.</field>
        </record>
        <record model="ir.lang" id="lang_ru">
            <field name="code">ru_RU</field>
            <field name="name">Russian</field>
            <field name="date">%d.%m.%Y</field>
            <field name="grouping">[3, 3, 0]</field>
            <field name="decimal_point">,</field>
            <field name="thousands_sep"> </field>
        </record>

        <record model="ir.ui.view" id="lang_view_tree">
            <field name="model">ir.lang</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
              <![CDATA[
                <tree string="Languages" editable="bottom">
                    <field name="name"/>
                    <field name="code"/>
                    <field name="direction"/>
                    <field name="translatable"/>
                    <field name="active"/>
                </tree>
                ]]>
            </field>
        </record>
        <record model="ir.ui.view" id="lang_view_form">
            <field name="model">ir.lang</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <![CDATA[
                <form string="Language" col="6">
                    <label name="name"/>
                    <field name="name"/>
                    <label name="code"/>
                    <field name="code"/>
                    <label name="active"/>
                    <field name="active"/>
                    <label name="direction"/>
                    <field name="direction"/>
                    <label name="translatable"/>
                    <field name="translatable"/>
                    <separator string="Date Formatting" colspan="6" id="date"/>
                    <label name="date"/>
                    <field name="date"/>
                    <separator string="Numbers Formatting" colspan="6" id="number"/>
                    <label name="grouping"/>
                    <field name="grouping"/>
                    <label name="thousands_sep"/>
                    <field name="thousands_sep"/>
                    <label name="decimal_point"/>
                    <field name="decimal_point"/>
                </form>
                ]]>
            </field>
        </record>
        <record model="ir.action.act_window" id="act_lang_form">
            <field name="name">Languages</field>
            <field name="res_model">ir.lang</field>
            <field name="context">{'active_test': False}</field>
        </record>
        <record model="ir.action.act_window.view"
            id="act_lang_form_view1">
            <field name="sequence" eval="1"/>
            <field name="view" ref="lang_view_tree"/>
            <field name="act_window" ref="act_lang_form"/>
        </record>
        <record model="ir.action.act_window.view"
            id="act_lang_form_view2">
            <field name="sequence" eval="2"/>
            <field name="view" ref="lang_view_form"/>
            <field name="act_window" ref="act_lang_form"/>
        </record>
        <menuitem name="Languages" parent="ir.menu_localization"
            action="act_lang_form" id="menu_lang_form"/>
    </data>
</tryton>
