Currently, I have a system which has language codes such as en, de, jp
and so on. I need to provide localisation for 8 languages, so it works if I manually add in the script file here:
<script src='/js/locale/angular-locale_de.js'></script>
.
But I need to be able to load it dynamically in the header. I tried using a jQuery hack using ("head").append()
but on Chrome throws an error says ASYNC request deprecated.