best way known yet to rerender after language switch

question still open: http://stackoverflow.com/questions/26091303/recommended-way-to-rerender-page-in-ember-after-language-switch
This commit is contained in:
jelhan 2014-10-01 00:26:26 +02:00
parent 116f4ebda6
commit ebdf0b796f

View file

@ -17,7 +17,7 @@ export default Ember.View.extend({
Ember.I18n.translations = translations[language];
// rerender page
this.get('parentView').rerender();
App.reset();
// set cookie when language is changed manualy
document.cookie="language=" + language + ";" +