Barzull February 2016

Angular translate multiple json files

i'm working on an mobile app with Angular Cordova and Ionic. I want to use in my app multiple traduction files. Like :

  • menu-fr.json
  • faq-fr.json
  • local-fr.json

i'm using this code :

        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

Post Status

Asked in February 2016
Viewed 3,354 times
Voted 14
Answered 1 times


Leave an answer