{"action":"created","comment":{"url":"https://api.github.com/repos/ivaldi/brimir/pulls/comments/27480164","id":27480164,"diff_hunk":"@@ -43,6 +43,12 @@ If you want to use LDAP, configure config/ldap.yml accordingly, then change the\n     bin/rails console production\n     u = User.new({ email: 'your@email.address', password: 'somepassword', password_confirmation: 'somepassword' }); u.agent = true; u.save!\n \n+Customization\n+-------------\n+Some applicant level configuration can be set through `config/settings.yml`\n+\n+Brimir is available in several languages. By default, it will use the locale corresponding to the user browser agent, if it was among the supported locales,. If you want to change this and force certain locale, you can do that by setting:   `ignore_user_agent_locale: true`  in  `config/settings.yml`","path":"README.md","position":8,"original_position":8,"commit_id":"0c995bc5fe7e73e9f798405efdb805505a380de7","original_commit_id":"0c995bc5fe7e73e9f798405efdb805505a380de7","user":{"login":"frenkel","id":121169,"avatar_url":"https://avatars.githubusercontent.com/u/121169?v=3","gravatar_id":"","url":"https://api.github.com/users/frenkel","html_url":"https://github.com/frenkel","followers_url":"https://api.github.com/users/frenkel/followers","following_url":"https://api.github.com/users/frenkel/following{/other_user}","gists_url":"https://api.github.com/users/frenkel/gists{/gist_id}","starred_url":"https://api.github.com/users/frenkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenkel/subscriptions","organizations_url":"https://api.github.com/users/frenkel/orgs","repos_url":"https://api.github.com/users/frenkel/repos","events_url":"https://api.github.com/users/frenkel/events{/privacy}","received_events_url":"https://api.github.com/users/frenkel/received_events","type":"User","site_admin":false},"body":"`,.` should be `.` in here","created_at":"2015-03-31T13:53:07Z","updated_at":"2015-03-31T13:53:07Z","html_url":"https://github.com/ivaldi/brimir/pull/180#discussion_r27480164","pull_request_url":"https://api.github.com/repos/ivaldi/brimir/pulls/180","_links":{"self":{"href":"https://api.github.com/repos/ivaldi/brimir/pulls/comments/27480164"},"html":{"href":"https://github.com/ivaldi/brimir/pull/180#discussion_r27480164"},"pull_request":{"href":"https://api.github.com/repos/ivaldi/brimir/pulls/180"}}},"pull_request":{"url":"https://api.github.com/repos/ivaldi/brimir/pulls/180","id":32244780,"html_url":"https://github.com/ivaldi/brimir/pull/180","diff_url":"https://github.com/ivaldi/brimir/pull/180.diff","patch_url":"https://github.com/ivaldi/brimir/pull/180.patch","issue_url":"https://api.github.com/repos/ivaldi/brimir/issues/180","number":180,"state":"open","locked":false,"title":"System settings and optional use of default locale","user":{"login":"modsaid","id":15653,"avatar_url":"https://avatars.githubusercontent.com/u/15653?v=3","gravatar_id":"","url":"https://api.github.com/users/modsaid","html_url":"https://github.com/modsaid","followers_url":"https://api.github.com/users/modsaid/followers","following_url":"https://api.github.com/users/modsaid/following{/other_user}","gists_url":"https://api.github.com/users/modsaid/gists{/gist_id}","starred_url":"https://api.github.com/users/modsaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modsaid/subscriptions","organizations_url":"https://api.github.com/users/modsaid/orgs","repos_url":"https://api.github.com/users/modsaid/repos","events_url":"https://api.github.com/users/modsaid/events{/privacy}","received_events_url":"https://api.github.com/users/modsaid/received_events","type":"User","site_admin":false},"body":"@frenkel This is one proposed solution for #179 to add the ability for more easy to manage configurations using settings.yml and a wrapper initializers/app_settings.rb\r\n\r\nIt is used to let the developers easily choose between the user-agent and the default locale for new non-logged-in requests\r\n\r\n","created_at":"2015-03-30T16:46:45Z","updated_at":"2015-03-31T13:53:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45bc36ac217842bd03f3e3ccfaed7e2e4935353c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ivaldi/brimir/pulls/180/commits","review_comments_url":"https://api.github.com/repos/ivaldi/brimir/pulls/180/comments","review_comment_url":"https://api.github.com/repos/ivaldi/brimir/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ivaldi/brimir/issues/180/comments","statuses_url":"https://api.github.com/repos/ivaldi/brimir/statuses/0c995bc5fe7e73e9f798405efdb805505a380de7","head":{"label":"modsaid:optional_use_of_default_locale","ref":"optional_use_of_default_locale","sha":"0c995bc5fe7e73e9f798405efdb805505a380de7","user":{"login":"modsaid","id":15653,"avatar_url":"https://avatars.githubusercontent.com/u/15653?v=3","gravatar_id":"","url":"https://api.github.com/users/modsaid","html_url":"https://github.com/modsaid","followers_url":"https://api.github.com/users/modsaid/followers","following_url":"https://api.github.com/users/modsaid/following{/other_user}","gists_url":"https://api.github.com/users/modsaid/gists{/gist_id}","starred_url":"https://api.github.com/users/modsaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modsaid/subscriptions","organizations_url":"https://api.github.com/users/modsaid/orgs","repos_url":"https://api.github.com/users/modsaid/repos","events_url":"https://api.github.com/users/modsaid/events{/privacy}","received_events_url":"https://api.github.com/users/modsaid/received_events","type":"User","site_admin":false},"repo":{"id":33119712,"name":"brimir","full_name":"modsaid/brimir","owner":{"login":"modsaid","id":15653,"avatar_url":"https://avatars.githubusercontent.com/u/15653?v=3","gravatar_id":"","url":"https://api.github.com/users/modsaid","html_url":"https://github.com/modsaid","followers_url":"https://api.github.com/users/modsaid/followers","following_url":"https://api.github.com/users/modsaid/following{/other_user}","gists_url":"https://api.github.com/users/modsaid/gists{/gist_id}","starred_url":"https://api.github.com/users/modsaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modsaid/subscriptions","organizations_url":"https://api.github.com/users/modsaid/orgs","repos_url":"https://api.github.com/users/modsaid/repos","events_url":"https://api.github.com/users/modsaid/events{/privacy}","received_events_url":"https://api.github.com/users/modsaid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/modsaid/brimir","description":"Email helpdesk built using Ruby on Rails and Zurb Foundation","fork":true,"url":"https://api.github.com/repos/modsaid/brimir","forks_url":"https://api.github.com/repos/modsaid/brimir/forks","keys_url":"https://api.github.com/repos/modsaid/brimir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/modsaid/brimir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/modsaid/brimir/teams","hooks_url":"https://api.github.com/repos/modsaid/brimir/hooks","issue_events_url":"https://api.github.com/repos/modsaid/brimir/issues/events{/number}","events_url":"https://api.github.com/repos/modsaid/brimir/events","assignees_url":"https://api.github.com/repos/modsaid/brimir/assignees{/user}","branches_url":"https://api.github.com/repos/modsaid/brimir/branches{/branch}","tags_url":"https://api.github.com/repos/modsaid/brimir/tags","blobs_url":"https://api.github.com/repos/modsaid/brimir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/modsaid/brimir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/modsaid/brimir/git/refs{/sha}","trees_url":"https://api.github.com/repos/modsaid/brimir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/modsaid/brimir/statuses/{sha}","languages_url":"https://api.github.com/repos/modsaid/brimir/languages","stargazers_url":"https://api.github.com/repos/modsaid/brimir/stargazers","contributors_url":"https://api.github.com/repos/modsaid/brimir/contributors","subscribers_url":"https://api.github.com/repos/modsaid/brimir/subscribers","subscription_url":"https://api.github.com/repos/modsaid/brimir/subscription","commits_url":"https://api.github.com/repos/modsaid/brimir/commits{/sha}","git_commits_url":"https://api.github.com/repos/modsaid/brimir/git/commits{/sha}","comments_url":"https://api.github.com/repos/modsaid/brimir/comments{/number}","issue_comment_url":"https://api.github.com/repos/modsaid/brimir/issues/comments{/number}","contents_url":"https://api.github.com/repos/modsaid/brimir/contents/{+path}","compare_url":"https://api.github.com/repos/modsaid/brimir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/modsaid/brimir/merges","archive_url":"https://api.github.com/repos/modsaid/brimir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/modsaid/brimir/downloads","issues_url":"https://api.github.com/repos/modsaid/brimir/issues{/number}","pulls_url":"https://api.github.com/repos/modsaid/brimir/pulls{/number}","milestones_url":"https://api.github.com/repos/modsaid/brimir/milestones{/number}","notifications_url":"https://api.github.com/repos/modsaid/brimir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/modsaid/brimir/labels{/name}","releases_url":"https://api.github.com/repos/modsaid/brimir/releases{/id}","created_at":"2015-03-30T11:39:35Z","updated_at":"2015-03-30T15:18:56Z","pushed_at":"2015-03-31T13:37:20Z","git_url":"git://github.com/modsaid/brimir.git","ssh_url":"git@github.com:modsaid/brimir.git","clone_url":"https://github.com/modsaid/brimir.git","svn_url":"https://github.com/modsaid/brimir","homepage":"http://getbrimir.com","size":4258,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ivaldi:master","ref":"master","sha":"b157a4b93cd4681016621060c7efa1bfcdf4b965","user":{"login":"ivaldi","id":129135,"avatar_url":"https://avatars.githubusercontent.com/u/129135?v=3","gravatar_id":"","url":"https://api.github.com/users/ivaldi","html_url":"https://github.com/ivaldi","followers_url":"https://api.github.com/users/ivaldi/followers","following_url":"https://api.github.com/users/ivaldi/following{/other_user}","gists_url":"https://api.github.com/users/ivaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/ivaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivaldi/subscriptions","organizations_url":"https://api.github.com/users/ivaldi/orgs","repos_url":"https://api.github.com/users/ivaldi/repos","events_url":"https://api.github.com/users/ivaldi/events{/privacy}","received_events_url":"https://api.github.com/users/ivaldi/received_events","type":"Organization","site_admin":false},"repo":{"id":6827131,"name":"brimir","full_name":"ivaldi/brimir","owner":{"login":"ivaldi","id":129135,"avatar_url":"https://avatars.githubusercontent.com/u/129135?v=3","gravatar_id":"","url":"https://api.github.com/users/ivaldi","html_url":"https://github.com/ivaldi","followers_url":"https://api.github.com/users/ivaldi/followers","following_url":"https://api.github.com/users/ivaldi/following{/other_user}","gists_url":"https://api.github.com/users/ivaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/ivaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivaldi/subscriptions","organizations_url":"https://api.github.com/users/ivaldi/orgs","repos_url":"https://api.github.com/users/ivaldi/repos","events_url":"https://api.github.com/users/ivaldi/events{/privacy}","received_events_url":"https://api.github.com/users/ivaldi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ivaldi/brimir","description":"Email helpdesk built using Ruby on Rails and Zurb Foundation","fork":false,"url":"https://api.github.com/repos/ivaldi/brimir","forks_url":"https://api.github.com/repos/ivaldi/brimir/forks","keys_url":"https://api.github.com/repos/ivaldi/brimir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivaldi/brimir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivaldi/brimir/teams","hooks_url":"https://api.github.com/repos/ivaldi/brimir/hooks","issue_events_url":"https://api.github.com/repos/ivaldi/brimir/issues/events{/number}","events_url":"https://api.github.com/repos/ivaldi/brimir/events","assignees_url":"https://api.github.com/repos/ivaldi/brimir/assignees{/user}","branches_url":"https://api.github.com/repos/ivaldi/brimir/branches{/branch}","tags_url":"https://api.github.com/repos/ivaldi/brimir/tags","blobs_url":"https://api.github.com/repos/ivaldi/brimir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivaldi/brimir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivaldi/brimir/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivaldi/brimir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivaldi/brimir/statuses/{sha}","languages_url":"https://api.github.com/repos/ivaldi/brimir/languages","stargazers_url":"https://api.github.com/repos/ivaldi/brimir/stargazers","contributors_url":"https://api.github.com/repos/ivaldi/brimir/contributors","subscribers_url":"https://api.github.com/repos/ivaldi/brimir/subscribers","subscription_url":"https://api.github.com/repos/ivaldi/brimir/subscription","commits_url":"https://api.github.com/repos/ivaldi/brimir/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivaldi/brimir/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivaldi/brimir/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivaldi/brimir/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivaldi/brimir/contents/{+path}","compare_url":"https://api.github.com/repos/ivaldi/brimir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivaldi/brimir/merges","archive_url":"https://api.github.com/repos/ivaldi/brimir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivaldi/brimir/downloads","issues_url":"https://api.github.com/repos/ivaldi/brimir/issues{/number}","pulls_url":"https://api.github.com/repos/ivaldi/brimir/pulls{/number}","milestones_url":"https://api.github.com/repos/ivaldi/brimir/milestones{/number}","notifications_url":"https://api.github.com/repos/ivaldi/brimir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivaldi/brimir/labels{/name}","releases_url":"https://api.github.com/repos/ivaldi/brimir/releases{/id}","created_at":"2012-11-23T12:31:36Z","updated_at":"2015-03-31T10:43:59Z","pushed_at":"2015-03-31T13:37:20Z","git_url":"git://github.com/ivaldi/brimir.git","ssh_url":"git@github.com:ivaldi/brimir.git","clone_url":"https://github.com/ivaldi/brimir.git","svn_url":"https://github.com/ivaldi/brimir","homepage":"http://getbrimir.com","size":4258,"stargazers_count":897,"watchers_count":897,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":213,"mirror_url":null,"open_issues_count":9,"forks":213,"open_issues":9,"watchers":897,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ivaldi/brimir/pulls/180"},"html":{"href":"https://github.com/ivaldi/brimir/pull/180"},"issue":{"href":"https://api.github.com/repos/ivaldi/brimir/issues/180"},"comments":{"href":"https://api.github.com/repos/ivaldi/brimir/issues/180/comments"},"review_comments":{"href":"https://api.github.com/repos/ivaldi/brimir/pulls/180/comments"},"review_comment":{"href":"https://api.github.com/repos/ivaldi/brimir/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ivaldi/brimir/pulls/180/commits"},"statuses":{"href":"https://api.github.com/repos/ivaldi/brimir/statuses/0c995bc5fe7e73e9f798405efdb805505a380de7"}}}}