/**
 * Translation configuration
 */
function translationConfig($translateProvider) {
  $translateProvider.useStaticFilesLoader({
    prefix: '/locale/locale-',
    suffix: '.json'
  });

  $translateProvider.useSanitizeValueStrategy('escape');

  $translateProvider.determinePreferredLanguage();
}

translationConfig.$inject = ['$translateProvider'];
angular.module('app').config(translationConfig);
/**
 * Translation configuration
 */
function translationConfig($translateProvider) {
  $translateProvider.useStaticFilesLoader({
    prefix: '/locale/locale-',
    suffix: '.json'
  });

  $translateProvider.fallbackLanguage('en_US');

  $translateProvider.useSanitizeValueStrategy('escape');

  $translateProvider.determinePreferredLanguage();
}

translationConfig.$inject = ['$translateProvider'];
angular.module('app').config(translationConfig);
Set fallback language for angular-translate
Set fallback language for angular-translate
