{"action":"created","issue":{"url":"https://api.github.com/repos/mashpie/i18n-node/issues/168","labels_url":"https://api.github.com/repos/mashpie/i18n-node/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/mashpie/i18n-node/issues/168/comments","events_url":"https://api.github.com/repos/mashpie/i18n-node/issues/168/events","html_url":"https://github.com/mashpie/i18n-node/issues/168","id":100779829,"number":168,"title":"Allow addition and removal of locales on-the-fly","user":{"login":"acontreras89","id":11020648,"avatar_url":"https://avatars.githubusercontent.com/u/11020648?v=3","gravatar_id":"","url":"https://api.github.com/users/acontreras89","html_url":"https://github.com/acontreras89","followers_url":"https://api.github.com/users/acontreras89/followers","following_url":"https://api.github.com/users/acontreras89/following{/other_user}","gists_url":"https://api.github.com/users/acontreras89/gists{/gist_id}","starred_url":"https://api.github.com/users/acontreras89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acontreras89/subscriptions","organizations_url":"https://api.github.com/users/acontreras89/orgs","repos_url":"https://api.github.com/users/acontreras89/repos","events_url":"https://api.github.com/users/acontreras89/events{/privacy}","received_events_url":"https://api.github.com/users/acontreras89/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-13T14:16:14Z","updated_at":"2015-08-31T16:00:51Z","closed_at":"2015-08-31T16:00:12Z","body":"It would be nice to have the ability to add/remove locales on-the-fly (i.e., after `i18n` has been configured with a set of locales).\r\nI believe this can be achieved by invoking the `configure` method subsequent times, passing the updated array of locales. However, this strategy requires that all other configuration options are passed in each call as well, or they get overridden with default values.\r\n\r\nCould we add `addLocale` and `removeLocale` methods to allow this? I'd gladly prepare a PR with the changes."},"comment":{"url":"https://api.github.com/repos/mashpie/i18n-node/issues/comments/136415241","html_url":"https://github.com/mashpie/i18n-node/issues/168#issuecomment-136415241","issue_url":"https://api.github.com/repos/mashpie/i18n-node/issues/168","id":136415241,"user":{"login":"acontreras89","id":11020648,"avatar_url":"https://avatars.githubusercontent.com/u/11020648?v=3","gravatar_id":"","url":"https://api.github.com/users/acontreras89","html_url":"https://github.com/acontreras89","followers_url":"https://api.github.com/users/acontreras89/followers","following_url":"https://api.github.com/users/acontreras89/following{/other_user}","gists_url":"https://api.github.com/users/acontreras89/gists{/gist_id}","starred_url":"https://api.github.com/users/acontreras89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acontreras89/subscriptions","organizations_url":"https://api.github.com/users/acontreras89/orgs","repos_url":"https://api.github.com/users/acontreras89/repos","events_url":"https://api.github.com/users/acontreras89/events{/privacy}","received_events_url":"https://api.github.com/users/acontreras89/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T16:00:51Z","updated_at":"2015-08-31T16:00:51Z","body":"Feature added in 45116ab."}}