Currently, I am working on implementing angularjs with i18n for translation. One issue that has arisen is the need to find a solution for versioning as the files are loaded from cache each time.
i18n/lang-en.json
Is there any suggestion on how I can create lang-xx.json versions to prevent caching of these files? Although they are not being loaded from an external source, I believe they can be addressed within my configLang.js file.
angular.module('moduleApp.config', ['xxx.ui.commons.defaults.config.lang']);
angular.module('moduleApp.config').config(['$translateProvider', '$languageSupportProvider', function($translateProvider, $languageSupportProvider){
// add your module specific language file to the loading chain
// $languageSupportProvider.addLanguageFileLocation('plugins/moduleApp/i18n/moduleApp-lang-:optionsKey.json', {});
}]
);