{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/website/issues/551","repository_url":"https://api.github.com/repos/OCA/website","labels_url":"https://api.github.com/repos/OCA/website/issues/551/labels{/name}","comments_url":"https://api.github.com/repos/OCA/website/issues/551/comments","events_url":"https://api.github.com/repos/OCA/website/issues/551/events","html_url":"https://github.com/OCA/website/issues/551","id":390062638,"node_id":"MDU6SXNzdWUzOTAwNjI2Mzg=","number":551,"title":"Website translation broken after install the module","user":{"login":"thanhacun","id":7599781,"node_id":"MDQ6VXNlcjc1OTk3ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/7599781?v=4","gravatar_id":"","url":"https://api.github.com/users/thanhacun","html_url":"https://github.com/thanhacun","followers_url":"https://api.github.com/users/thanhacun/followers","following_url":"https://api.github.com/users/thanhacun/following{/other_user}","gists_url":"https://api.github.com/users/thanhacun/gists{/gist_id}","starred_url":"https://api.github.com/users/thanhacun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thanhacun/subscriptions","organizations_url":"https://api.github.com/users/thanhacun/orgs","repos_url":"https://api.github.com/users/thanhacun/repos","events_url":"https://api.github.com/users/thanhacun/events{/privacy}","received_events_url":"https://api.github.com/users/thanhacun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-12T04:40:27Z","updated_at":"2018-12-12T08:45:39Z","closed_at":null,"author_association":"NONE","body":"After installing the module, all translation (other than default) is broken (in my case, it is Vietnamese) for the website module:\r\n\r\n- The translation is OK if a user is logged in\r\n- The translation is Broken if a public user\r\n\r\nPlease see the attached  file for the website menu\r\n\r\n![annotation 2018-12-12 113918](https://user-images.githubusercontent.com/7599781/49847431-9f409680-fe02-11e8-8317-6f6dea51a915.jpg)\r\n\r\nOur temporary solution:\r\n- Using unicode parser in /model/ir_ui_view.py file\r\n`unicode_parser = etree.HTMLParser(encoding='utf-8')`\r\n`...`\r\n`html = etree.HTML(res, parser=unicode_parser)`"},"comment":{"url":"https://api.github.com/repos/OCA/website/issues/comments/446507869","html_url":"https://github.com/OCA/website/issues/551#issuecomment-446507869","issue_url":"https://api.github.com/repos/OCA/website/issues/551","id":446507869,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjUwNzg2OQ==","user":{"login":"pedrobaeza","id":7165771,"node_id":"MDQ6VXNlcjcxNjU3NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/7165771?v=4","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T08:45:39Z","updated_at":"2018-12-12T08:45:39Z","author_association":"CONTRIBUTOR","body":"Which module? Which version?"}}
{"actor":{"display_login":"pedrobaeza"}}