Here's the documentation in the repository with angular translate
What you will soon understand after reading is that the angular-translate-store-local library is for use with the angular-store-translator-cookie . Since local storage is not supported on some older browsers (e.g. IE 7 or lower), angular translate wants to be able to return in order to use cookies when local storage does not do the trick.
The error is caused by angular-translator-storage-local trying to enter the fall back option angular-translate-storage-cookie .
To work around this problem you need to set angular -translate-local-cookie .
Beware that angular -translate-local-cookie tries to add ngCookie , which is the library you will need to install, and also set dependency injection for your application. Injection should be
var app = angular.module('myApp', ['ngCookies', 'pascalprecht.translate']);
In addition, the incorrect order to include include.html files can also cause problems for you. The correct order should be
<script type="text/javascript" src="vendor/angular-cookies/angular-cookies.min.js"></script> <script type="text/javascript" src="vendor/angular-translate-storage-cookie/angular-translate-storage-cookie.min.js"></script> <script type="text/javascript" src="vendor/angular-translate-storage-local/angular-translate-storage-local.min.js"></script>
source share