{"action":"opened","issue":{"url":"https://api.github.com/repos/PHPAuth/PHPAuth/issues/89","labels_url":"https://api.github.com/repos/PHPAuth/PHPAuth/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/PHPAuth/PHPAuth/issues/89/comments","events_url":"https://api.github.com/repos/PHPAuth/PHPAuth/issues/89/events","html_url":"https://github.com/PHPAuth/PHPAuth/issues/89","id":105933525,"number":89,"title":"language files","user":{"login":"KarelWintersky","id":2164874,"avatar_url":"https://avatars.githubusercontent.com/u/2164874?v=3","gravatar_id":"","url":"https://api.github.com/users/KarelWintersky","html_url":"https://github.com/KarelWintersky","followers_url":"https://api.github.com/users/KarelWintersky/followers","following_url":"https://api.github.com/users/KarelWintersky/following{/other_user}","gists_url":"https://api.github.com/users/KarelWintersky/gists{/gist_id}","starred_url":"https://api.github.com/users/KarelWintersky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KarelWintersky/subscriptions","organizations_url":"https://api.github.com/users/KarelWintersky/orgs","repos_url":"https://api.github.com/users/KarelWintersky/repos","events_url":"https://api.github.com/users/KarelWintersky/events{/privacy}","received_events_url":"https://api.github.com/users/KarelWintersky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-11T02:34:32Z","updated_at":"2015-09-11T02:34:32Z","closed_at":null,"body":"I think about loading language file while config initialization.. and name of language file we can take from config value like `site_messages_language`.\r\n\r\nOf course, if is_file() returns false, we will load `en_GB.php`\r\n\r\nAlso, I think about storing different translations in JSON-file, but.. I can be not a good idea."}}