eventman/angular_app/js/i18n.js

15 line
386 B
JavaScript

/* i18n for Event(man) */
eventManApp.config(['$translateProvider', function ($translateProvider) {
$translateProvider.useStaticFilesLoader({
prefix: '/static/i18n/',
suffix: '.json'
});
$translateProvider.useSanitizeValueStrategy('escaped');
//$translateProvider.preferredLanguage('it_IT');
//$translateProvider.fallbackLanguage('en_US');
}]);