diff --git a/bin/addons/base/module/wizard/wizard_import_lang.py b/bin/addons/base/module/wizard/wizard_import_lang.py
index 82b67ab2ae4..3a195b19747 100644
--- a/bin/addons/base/module/wizard/wizard_import_lang.py
+++ b/bin/addons/base/module/wizard/wizard_import_lang.py
@@ -31,12 +31,13 @@ view_form="""
-
+
-
+
+Please check that the first line of your file is one of the following:" colspan="4" align="0.0"/>
+
"""
@@ -56,7 +57,7 @@ class wizard_import_lang(wizard.interface):
# now we determine the file format
fileobj.seek(0)
- first_line = fileobj.readline().strip()
+ first_line = fileobj.readline().strip().replace('"', '').replace(' ', '')
fileformat = first_line.endswith("type,name,res_id,src,value") and 'csv' or 'po'
fileobj.seek(0)