Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
localstorage angular translate
localstorage angular translate ¬†using -'angularjs,angular-translate,angular-local-storage'
I am new in angular-translate in my Angular app.
I have to create multi language application in AngularJS where user have a option to set his language. So, for that I have to loading translations from files and save that preferred language in LocalStorage.
So that if user come again to access the application he will be displayed his previously set language.
What i have done so far :
loading translations from files by using $translateProvider.useStaticFilesLoader
var app = angular.module("myLangApp", ['pascalprecht.translate'])
Application working fine if i comment this line
But if i use i am getting this error on console :
I also included the angular-translate-storage-local.min.js file in index.html.But no success.
Any immediate help will be highly appreciable. Thanks
Oct 6, 2015
to add a comment.
Related Hot Questions
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please