Impacted versions:
10.0

Steps to reproduce:
From Chrome Versión 59.0.3071.115 (Build oficial) (64 bits)
with lang  spanish Latin America es_419
Go to http://247698-10-0-f3ee58.runbot8.odoo.com/?db=247698-10-0-f3ee58-all

Current behavior:

```python
2017-07-20 16:21:02,024 10584 INFO 247698-10-0-f3ee58-all odoo.sql_db: bad query: INSERT INTO "ir_translation" ("id", "lang", "src", "name", "type", "value", "state", "res_id") VALUES(nextval('ir_translation_id_seq'), 'es_419', 'Visitor, Administrator', 'mail.channel,name', 'model', 'Visitor, Administrator', 'translated', 81) RETURNING id
```
Expected behavior:
Chat being open

Video/Screenshot link (optional):
![image](https://user-images.githubusercontent.com/10233975/28430589-aa27e01a-6d46-11e7-82fc-18473bcf0e5e.png)


addons/im_livechat/controllers/main.py
import base64
from odoo import http, _
from odoo.http import request
from odoo.addons.base.ir.ir_qweb import AssetsBundle
from odoo.addons.web.controllers.main import binary_content
class LivechatController(http.Controller):