-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some Sections in the Cookies View Do Not Translate Certain Parts #15
Comments
Hi @sbono2016, This is weird. I'm not sure the suggested fix is appropriate since you can add your own categories (which are not necessarily defined inside Could you elaborate? Thanks! |
Hi, The doc says to register cookies in the boot method of a serviceProvider, but doing that raise a major problem: I would recommend 2 solutions:
|
Same issue here. The default language of my app is "nl" and when switching to "en", some translations stay in "nl". I've created a CookieServiceprovider and added this provider as the last provider in my config/app.php. |
What @QuentinGab mentioned is accurate. Defining cookies while booting Laravel is indeed too ealry, that's why I created PR #29 which is providing a publishable This will be published as |
I am using 1.2 and did everything in the usage section but keep having this problem. Any ideas? |
I am using "codezero/laravel-localized-routes", maybe it has something to do with it? I've dd'd the locale just at the beginning of registerCookies and it still is 'en' when it should be 'de'. I guess I should not define them there but where then? I tried adding the cookies registration to custom middleware but I get the same problem, however when I added to the 'web' group the translations got fixed but now the popup appears each time no matter whether I agree or not to the cookies!!! Baffling. @toonvandenbos |
I am using 1.2.3 and did everything in the usage section but keep having this problem. |
Thank you for the plugin; this is exactly what I was looking for for many weeks.
I encountered a minor issue in the view related to translation.
I had to make some code changes to make it work:"
+- line 37 :
From:
To:
The same issue also exists with the cookie description, but I haven't found a way to modify it yet...
+- line 48 :
The text was updated successfully, but these errors were encountered: