Cookies problem
See original GitHub issueSo, I’ve added two files:
<script src="/js/angular-translate.js"></script>
<script src="/js/angular-translate-storage-cookie.js"></script>
Then tryied to init:
config.$inject = ['$translateProvider'];
function config($translateProvider) {
$translateProvider
.useUrlLoader('/app/crm/locales.json')
.useCookieStorage()
.preferredLanguage('en');
}
Getting error: Unknown provider: $cookieStoreProvider <- $cookieStore <- $translateCookieStorage <- $translate
What I do wrong?
Issue Analytics
- State:
- Created 9 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Common Cookie Problems and How to Prevent Them
The most common reason cookies are dry is too much flour. Over-measuring flour is a very common reason for most any baking recipe...
Read more >Common cookie problems and how to avoid them
Problem #1: Flat, rock hard cookies · Problem #2: Dry and stiff cookies · Problem #3: Dark and crispy cookies · Problem #4:...
Read more >Cookies Problems and Solutions: Why are My Cookies Flat?
COOKIES ; Cookies crumble and are dry and hard, Over mixing the dough, over baking, dry fruit/coconut, too much water or a lack...
Read more >How to Fix 10 Common Cookie Problems | Cook's Illustrated
Troubleshoot everything from unevenly baked batches to the dreaded melted-together megacookie. Problem #1: The last cookies always seem short on chips. Solution ...
Read more >Problems with Cookies - How Internet Cookies Work
Cookies get erased - If you have a problem with your browser and call tech support, probably the first thing that tech support...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@zloy531 I had the same error, i included: /angular-translate-storage-cookie/node_modules/angular-cookies/angular-cookies.min.js and /angular-translate-storage-cookie/angular-translate-storage-cookie.min.js and it worked. downloaded from npm
is a general Angular JS error message meaning there is a missing component (named
$translateLocaleStorage
).I’d suggest to read the corresponding chapter.
@zloy531 gives you actually the solution already.