i'm working on an mobile app with Angular Cordova and Ionic. I want to use in my app multiple traduction files. Like :
i'm using this code :
$translateProvider.useStaticFilesLoader({
prefix: 'main/i18n/local-',
suffix: '.json'
});
My question is how to load multiple files ? i searched a lot , but i found nothing.
Thanks in advance
You can use partial loader : https://github.com/angular-translate/bower-angular-translate-loader-partial
see How to best organize translation strings in angular-translate? for a sample code