javascript - Angular translate multiple json files -
i'm working on mobile app angular cordova , ionic. want use in app multiple traduction files. :
- menu-fr.json
- faq-fr.json
- local-fr.json
i'm using code :
$translateprovider.usestaticfilesloader({ prefix: 'main/i18n/local-', suffix: '.json' });
my question how load multiple files ? searched lot , found nothing.
thanks in advance
you can use partial loader : https://github.com/angular-translate/bower-angular-translate-loader-partial
see how best organize translation strings in angular-translate? sample code
Comments
Post a Comment