Ember: dynamic switch to chosen language (using i18n library)
问题 I am using the ember-i18n library for translation of static strings used throughout my application. As the language files are rather big, I do not want to load at application start all possible language dictionaries. I thus want to load the dictionary dynamically when the user chooses to change language. I have made a first implementation that works rather well. See http://jsfiddle.net/cyclomarc/RYbNG/7/ When starting the app, it is rendered in english. You can now select one of the views