<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <record id="view_base_language_install" model="ir.ui.view">
            <field name="name">Load a Translation</field>
            <field name="model">base.language.install</field>
            <field name="arch" type="xml">
                <form string="Load a Translation" version="7.0">
                    <field name="state" invisible="1"/>
                    <group states="init">
                        <field name="lang"/>
                        <field name="overwrite" groups="base.group_no_one"/>
                    </group>
                    <group states="done" colspan="4">
                        <label string="The selected language has been successfully installed.
You must change the preferences of the user and open a new menu to view the changes."/>
                    </group>
                    <footer states="init">
                        <button name="lang_install" string="Load" type="object" class="oe_highlight"/> or 
                        <button special="cancel" string="Cancel" class="oe_link"/>
                    </footer>
                    <footer states="done">
                        <button special="cancel" string="Close"/>
                    </footer>
                </form>
           </field>
        </record>

        <record id="action_view_base_language_install" model="ir.actions.act_window">
            <field name="name">Load a Translation</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">base.language.install</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

        <menuitem
            name="Load a Translation"
            action="action_view_base_language_install"
            id="menu_view_base_language_install"
            parent="menu_translation" sequence="2"/>
    </data>
</openerp>

