{"action":"created","issue":{"url":"https://api.github.com/repos/kiwix/kiwix-android/issues/710","repository_url":"https://api.github.com/repos/kiwix/kiwix-android","labels_url":"https://api.github.com/repos/kiwix/kiwix-android/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/kiwix/kiwix-android/issues/710/comments","events_url":"https://api.github.com/repos/kiwix/kiwix-android/issues/710/events","html_url":"https://github.com/kiwix/kiwix-android/issues/710","id":314035474,"number":710,"title":"Kiwix ignores language preferences when first opening","user":{"login":"Popolechien","id":21675885,"avatar_url":"https://avatars3.githubusercontent.com/u/21675885?v=4","gravatar_id":"","url":"https://api.github.com/users/Popolechien","html_url":"https://github.com/Popolechien","followers_url":"https://api.github.com/users/Popolechien/followers","following_url":"https://api.github.com/users/Popolechien/following{/other_user}","gists_url":"https://api.github.com/users/Popolechien/gists{/gist_id}","starred_url":"https://api.github.com/users/Popolechien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Popolechien/subscriptions","organizations_url":"https://api.github.com/users/Popolechien/orgs","repos_url":"https://api.github.com/users/Popolechien/repos","events_url":"https://api.github.com/users/Popolechien/events{/privacy}","received_events_url":"https://api.github.com/users/Popolechien/received_events","type":"User","site_admin":false},"labels":[{"id":521215948,"url":"https://api.github.com/repos/kiwix/kiwix-android/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/kiwix/kiwix-android/milestones/3","html_url":"https://github.com/kiwix/kiwix-android/milestone/3","labels_url":"https://api.github.com/repos/kiwix/kiwix-android/milestones/3/labels","id":3253209,"number":3,"title":"2.4","description":"","creator":{"login":"kelson42","id":1029718,"avatar_url":"https://avatars0.githubusercontent.com/u/1029718?v=4","gravatar_id":"","url":"https://api.github.com/users/kelson42","html_url":"https://github.com/kelson42","followers_url":"https://api.github.com/users/kelson42/followers","following_url":"https://api.github.com/users/kelson42/following{/other_user}","gists_url":"https://api.github.com/users/kelson42/gists{/gist_id}","starred_url":"https://api.github.com/users/kelson42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelson42/subscriptions","organizations_url":"https://api.github.com/users/kelson42/orgs","repos_url":"https://api.github.com/users/kelson42/repos","events_url":"https://api.github.com/users/kelson42/events{/privacy}","received_events_url":"https://api.github.com/users/kelson42/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":6,"state":"open","created_at":"2018-04-09T16:51:58Z","updated_at":"2018-05-20T15:01:04Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-04-13T09:32:42Z","updated_at":"2018-05-20T16:34:45Z","closed_at":null,"author_association":"NONE","body":"When starting Kiwix it opens on my phones' default language, ignoring earlier language preferences I could have set in another session (see images). However as soon as I open a zim file or article then language preferences kick in (e.g. it changes from French to Spanish or English)\r\n\r\n![langue](https://user-images.githubusercontent.com/21675885/38727304-f2ee9fbc-3f0c-11e8-8d6a-926660fc8518.png)\r\n----\r\n![langue 2](https://user-images.githubusercontent.com/21675885/38727306-f30726ea-3f0c-11e8-97b9-1a421546fa3a.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kiwix/kiwix-android/issues/comments/390494494","html_url":"https://github.com/kiwix/kiwix-android/issues/710#issuecomment-390494494","issue_url":"https://api.github.com/repos/kiwix/kiwix-android/issues/710","id":390494494,"user":{"login":"mhutti1","id":2286937,"avatar_url":"https://avatars1.githubusercontent.com/u/2286937?v=4","gravatar_id":"","url":"https://api.github.com/users/mhutti1","html_url":"https://github.com/mhutti1","followers_url":"https://api.github.com/users/mhutti1/followers","following_url":"https://api.github.com/users/mhutti1/following{/other_user}","gists_url":"https://api.github.com/users/mhutti1/gists{/gist_id}","starred_url":"https://api.github.com/users/mhutti1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhutti1/subscriptions","organizations_url":"https://api.github.com/users/mhutti1/orgs","repos_url":"https://api.github.com/users/mhutti1/repos","events_url":"https://api.github.com/users/mhutti1/events{/privacy}","received_events_url":"https://api.github.com/users/mhutti1/received_events","type":"User","site_admin":false},"created_at":"2018-05-20T16:34:45Z","updated_at":"2018-05-20T16:34:45Z","author_association":"MEMBER","body":"The issue is more complex than expected. In later versions of Android the first initialisation of a WebView resets your language cause Android... https://stackoverflow.com/questions/40398528/android-webview-language-changes-abruptly-on-android-n Creating a webview then immediately destroying it before setting the lanugage seems to fix this."}}
{"actor":{"display_login":"mhutti1"}}