I’m using angular-translate to translate my ionic app in 3 different languages. Iv’e created a “languages” folder inside the “www” directory where I’ve put all my .json files. Then I use angular-translate-loader-static-files to serve them which works fine when testing the ionic app in a browser. But when I run the app on a emulater the languages files doesn’t get loaded.
The reason I put them in separate .json files was because I didn’t want to create all the translations for all the languages inside the .config function.
Instead I only run this bit of code inside the .config function: