{"action":"opened","issue":{"url":"https://api.github.com/repos/niden/Git-Pre-Commit-Hook-for-certain-words/issues/1","labels_url":"https://api.github.com/repos/niden/Git-Pre-Commit-Hook-for-certain-words/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/niden/Git-Pre-Commit-Hook-for-certain-words/issues/1/comments","events_url":"https://api.github.com/repos/niden/Git-Pre-Commit-Hook-for-certain-words/issues/1/events","html_url":"https://github.com/niden/Git-Pre-Commit-Hook-for-certain-words/issues/1","id":100747726,"number":1,"title":"How to deal with git translations","user":{"login":"kgaut","id":736910,"avatar_url":"https://avatars.githubusercontent.com/u/736910?v=3","gravatar_id":"","url":"https://api.github.com/users/kgaut","html_url":"https://github.com/kgaut","followers_url":"https://api.github.com/users/kgaut/followers","following_url":"https://api.github.com/users/kgaut/following{/other_user}","gists_url":"https://api.github.com/users/kgaut/gists{/gist_id}","starred_url":"https://api.github.com/users/kgaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgaut/subscriptions","organizations_url":"https://api.github.com/users/kgaut/orgs","repos_url":"https://api.github.com/users/kgaut/repos","events_url":"https://api.github.com/users/kgaut/events{/privacy}","received_events_url":"https://api.github.com/users/kgaut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-13T11:40:20Z","updated_at":"2015-08-13T11:40:20Z","closed_at":null,"body":"On my ubuntu, Git is translated to french, so the output of git status is \"modifié\" instead of \"modified\"\r\n\r\nI tried to change the command to add \"modifié\" and \"ajouté\" (as for \"added\")\r\n\r\n```\r\nLIST=$(git status | grep -e '\\#.*\\(modified\\|added\\|modifié\\|ajouté\\)')\r\n```\r\n\r\nBut it seems like there's a problem with accentuated chars... \r\n\r\nfrom my terminal i tried \r\n```\r\ngit status | grep -e '\\#.*\\(modifié\\)'\r\ngit status | grep -e '\\#.*\\(modifi\\)'\r\n```\r\nwithout success.\r\n\r\nDo you have any idea ? \r\n\r\nCheers."}}