{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/react-intl/issues/243","labels_url":"https://api.github.com/repos/yahoo/react-intl/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/react-intl/issues/243/comments","events_url":"https://api.github.com/repos/yahoo/react-intl/issues/243/events","html_url":"https://github.com/yahoo/react-intl/issues/243","id":121051657,"number":243,"title":"Is there a way to change <IntlProvider locale=\"***\"> in Redux app? ","user":{"login":"DWboutin","id":1322006,"avatar_url":"https://avatars.githubusercontent.com/u/1322006?v=3","gravatar_id":"","url":"https://api.github.com/users/DWboutin","html_url":"https://github.com/DWboutin","followers_url":"https://api.github.com/users/DWboutin/followers","following_url":"https://api.github.com/users/DWboutin/following{/other_user}","gists_url":"https://api.github.com/users/DWboutin/gists{/gist_id}","starred_url":"https://api.github.com/users/DWboutin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DWboutin/subscriptions","organizations_url":"https://api.github.com/users/DWboutin/orgs","repos_url":"https://api.github.com/users/DWboutin/repos","events_url":"https://api.github.com/users/DWboutin/events{/privacy}","received_events_url":"https://api.github.com/users/DWboutin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yahoo/react-intl/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-08T17:00:41Z","updated_at":"2015-12-18T01:03:04Z","closed_at":"2015-12-09T19:31:28Z","body":"Hi, \r\n\r\nI try to change the main language of my app with come buttons and not refreshing the app.\r\n\r\n```javascript\r\nlet store = applyMiddleware(thunkMiddleware)(createStore)(reducers);\r\nlet { lang, messages } = store.getState().locales;\r\n\r\nReactDOM.render((\r\n  <Provider store={store}>\r\n    <IntlProvider locale={lang} messages={messages}>\r\n      <Router history={createHistory()}>{routes}</Router>\r\n    </IntlProvider>\r\n  </Provider>\r\n), document.getElementById( APP_DOM_CONTAINER ));\r\n```\r\n\r\nmaybe a method like `IntlProvider.setLang('fr')`?\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/yahoo/react-intl/issues/comments/165628522","html_url":"https://github.com/yahoo/react-intl/issues/243#issuecomment-165628522","issue_url":"https://api.github.com/repos/yahoo/react-intl/issues/243","id":165628522,"user":{"login":"benkeen","id":512116,"avatar_url":"https://avatars.githubusercontent.com/u/512116?v=3","gravatar_id":"","url":"https://api.github.com/users/benkeen","html_url":"https://github.com/benkeen","followers_url":"https://api.github.com/users/benkeen/followers","following_url":"https://api.github.com/users/benkeen/following{/other_user}","gists_url":"https://api.github.com/users/benkeen/gists{/gist_id}","starred_url":"https://api.github.com/users/benkeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benkeen/subscriptions","organizations_url":"https://api.github.com/users/benkeen/orgs","repos_url":"https://api.github.com/users/benkeen/repos","events_url":"https://api.github.com/users/benkeen/events{/privacy}","received_events_url":"https://api.github.com/users/benkeen/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T01:03:04Z","updated_at":"2015-12-18T01:03:04Z","body":"I'm puzzled about this myself!"}}