1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="view_base_import_language" model="ir.ui.view">
6 <field name="name">Import Language</field>
7 <field name="model">base.language.import</field>
8 <field name="type">form</field>
9 <field name="arch" type="xml">
10 <form string="Import language">
11 <notebook colspan="4">
12 <page string="Import Data">
13 <group colspan="4" col="4">
14 <separator string="Import New Language" colspan="4"/>
15 <field name="name" width="200"/>
17 <field name="data" colspan="4"/>
19 <separator string="" colspan="4"/>
20 <group colspan="2" col="2">
22 <group colspan="2" col="2">
23 <button special="cancel" string="_Cancel" icon="gtk-cancel"/>
24 <button name="import_lang" string="_Import" type="object" icon="gtk-ok"/>
28 <label string="You have to import a .CSV file which is encoded in UTF-8."/>
29 <label string="Please check that the first line of your file is one of the following:" colspan="4" align="0.0"/>
30 <label string="type,name,res_id,src,value" colspan="4"/>
31 <label string="module,type,name,res_id,src,value" colspan="4"/>
32 <label string="You can also import .po files." colspan="4" align="0.0"/>
40 <record id="action_view_base_import_language" model="ir.actions.act_window">
41 <field name="name">Import Language</field>
42 <field name="type">ir.actions.act_window</field>
43 <field name="res_model">base.language.import</field>
44 <field name="view_type">form</field>
45 <field name="view_mode">form</field>
46 <field name="target">new</field>
50 name="Import a Translation File"
51 action="action_view_base_import_language"
52 id="menu_view_base_import_language"
53 parent="menu_translation_export"/>