My experience with angular-translate-loader-static-files has been mostly positive, but I've run into a few hiccups along the way.
Specifically, I have two json files named locale-en.json and locale-fr.json that I am trying to load.
I load them using the following code:
$translateProvider.useStaticFilesLoader {
prefix: 'locales/locale-'
suffix: '.json'
}
$translateProvider.useSanitizeValueStrategy(null);
$translateProvider.preferredLanguage 'fr'
While everything works fine most of the time, occasionally the files fail to load properly. When this happens, the network console shows that the response for the locale-xx.json file is index.html instead.
I suspect that the issue arises after making changes to the json files and then refreshing the page. Sometimes restarting Chrome resolves the problem temporarily, but it tends to reappear at some point.