{"action":"created","issue":{"url":"https://api.github.com/repos/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/1058","repository_url":"https://api.github.com/repos/mitreid-connect/OpenID-Connect-Java-Spring-Server","labels_url":"https://api.github.com/repos/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/1058/labels{/name}","comments_url":"https://api.github.com/repos/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/1058/comments","events_url":"https://api.github.com/repos/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/1058/events","html_url":"https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/1058","id":146494354,"number":1058,"title":"Locale is not auto-detected","user":{"login":"liouxiao","id":3435699,"avatar_url":"https://avatars.githubusercontent.com/u/3435699?v=3","gravatar_id":"","url":"https://api.github.com/users/liouxiao","html_url":"https://github.com/liouxiao","followers_url":"https://api.github.com/users/liouxiao/followers","following_url":"https://api.github.com/users/liouxiao/following{/other_user}","gists_url":"https://api.github.com/users/liouxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/liouxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liouxiao/subscriptions","organizations_url":"https://api.github.com/users/liouxiao/orgs","repos_url":"https://api.github.com/users/liouxiao/repos","events_url":"https://api.github.com/users/liouxiao/events{/privacy}","received_events_url":"https://api.github.com/users/liouxiao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-04-07T02:55:04Z","updated_at":"2016-07-05T18:43:11Z","closed_at":null,"body":"Current OIDC choose locale by setting related property in `server-config.xml`, e.g. \r\n\r\n```\r\n\t\t<!-- This property sets the locale for server text -->\r\n\t\t<!-- <property name=\"locale\" value=\"sv\" /> -->\r\n```\r\n\r\nhowever, it limits the UI to a single (pre-determined) locale. Instead, users might expect the server could choose proper locale according to their browsers' language settings."},"comment":{"url":"https://api.github.com/repos/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/comments/230566075","html_url":"https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/1058#issuecomment-230566075","issue_url":"https://api.github.com/repos/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/1058","id":230566075,"user":{"login":"jricher","id":122511,"avatar_url":"https://avatars.githubusercontent.com/u/122511?v=3","gravatar_id":"","url":"https://api.github.com/users/jricher","html_url":"https://github.com/jricher","followers_url":"https://api.github.com/users/jricher/followers","following_url":"https://api.github.com/users/jricher/following{/other_user}","gists_url":"https://api.github.com/users/jricher/gists{/gist_id}","starred_url":"https://api.github.com/users/jricher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jricher/subscriptions","organizations_url":"https://api.github.com/users/jricher/orgs","repos_url":"https://api.github.com/users/jricher/repos","events_url":"https://api.github.com/users/jricher/events{/privacy}","received_events_url":"https://api.github.com/users/jricher/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T18:43:11Z","updated_at":"2016-07-05T18:43:11Z","body":"In practice we've found this to be unreliable at best, thus we had the explicit locale property in the configuration. We could perhaps have a resolver that checks the configuration first and then falls back to automated detection if the property isn't set. "}}
{"actor":{"display_login":"jricher"}}