You can load the locale you want into localStorage
, then refresh the page. Have the script below load the i18n file you need. Changing the locale on the fly isn’t supported yet.
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js"></script>
<script>
var locale = JSON.parse(localStorage.getItem('locale'));
if (locale) {
document.write('<script src="scripts/i18n/angular-locale_'+locale+'.js"><\/script>');
}
</script>