-
Notifications
You must be signed in to change notification settings - Fork 1k
Failing to load multiple files using static loader , using { "file" : #923
Comments
The plnkr isn't working correctly at all. But anyway - the options for the standard static files loader are currently only able to take an option input object as defined in https://github.com/angular-translate/angular-translate/blob/master/src/service/loader-static-files.js
and not an Array of Objects. So if you need a totally different approach - yes you have to write a custom loader / parser. |
Thanks
|
Actually, Aykut is correct. You should be able to pass a files array to the loader. Its both in the docs "Alternatively, if you have multiple translation files in distinct locations, you may instead supply an array of files to the loader" + code example and in the code, if you look a bit closer. Aykut's changes seem to fix it. |
There is a bug in the processing. |
Fixed in latest 2.6.1 |
Thanks and regards
Aykut Yararbas~
The text was updated successfully, but these errors were encountered: