{"action":"opened","issue":{"url":"https://api.github.com/repos/micahflee/torbrowser-launcher/issues/220","repository_url":"https://api.github.com/repos/micahflee/torbrowser-launcher","labels_url":"https://api.github.com/repos/micahflee/torbrowser-launcher/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/micahflee/torbrowser-launcher/issues/220/comments","events_url":"https://api.github.com/repos/micahflee/torbrowser-launcher/issues/220/events","html_url":"https://github.com/micahflee/torbrowser-launcher/issues/220","id":134217914,"number":220,"title":"wrongly detects language","user":{"login":"h01ger","id":2190271,"avatar_url":"https://avatars.githubusercontent.com/u/2190271?v=3","gravatar_id":"","url":"https://api.github.com/users/h01ger","html_url":"https://github.com/h01ger","followers_url":"https://api.github.com/users/h01ger/followers","following_url":"https://api.github.com/users/h01ger/following{/other_user}","gists_url":"https://api.github.com/users/h01ger/gists{/gist_id}","starred_url":"https://api.github.com/users/h01ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h01ger/subscriptions","organizations_url":"https://api.github.com/users/h01ger/orgs","repos_url":"https://api.github.com/users/h01ger/repos","events_url":"https://api.github.com/users/h01ger/events{/privacy}","received_events_url":"https://api.github.com/users/h01ger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-17T08:48:18Z","updated_at":"2016-02-17T08:48:18Z","closed_at":null,"body":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753173 was has lots of more background about this issue. Basically, if you've set any LC_ variable to an existing locale, torbrowser will start in this languge, which is wrong, as many LC_ variables have nothing to do with UI language.\r\n\r\nThe fix is rather simple (and confirmed by me):\r\n\r\nhttp://sources.debian.net/src/torbrowser-launcher/0.2.2-3/torbrowser_launcher/common.py/#L74\r\n\r\nwhich currently reads:\r\n\r\n  default_locale = locale.getdefaultlocale()[0]\r\n\r\nshould instead be:\r\n\r\n  default_locale = locale.getlocale(locale.LC_MESSAGES)[0]"}}