Open dschien opened 10 years ago
I've USE_I18N = True
but the same issue.
How did you resolved it?
Thanks
Hi there. I'm sorry but I don't remember. I still have USE_I18N in my settings but it works. If I did make any adjustments - maybe by providing my own template - I don't remember.
Thanks anyway! :)
Hello @gio82 @dschien,
Sorry for not replying earlier.
I will definitely update the README. It is not an absolute requirement but it's recommended to leave I18n enabled if you want everything to work out of the box. Otherwise you'll have to overwrite the template yourself (cookielaw/banner.html
), e.g.:
<div id="CookielawBanner">
<div class="container">
<h6>Cookies disclaimer</h6>
<p>
<a class="btn btn-primary pull-right" href="javascript:Cookielaw.createCookielawCookie();">I agree</a>
Our site saves small pieces of text information (cookies) on your device
in order to deliver better content and for statistical purposes. You can
disable the usage of cookies by changing the settings of your browser. By
browsing our website without changing the browser settings you grant us
permission to store that information on your device.
</p>
</div>
</div>
Of course this template will be resolved using standard django template search mechanisms.
Hi,
I've set USE_I18N = False and end up with
COOKIE_INFO_HEADER
andCOOKIE_INFO_OK COOKIE_INFO_PARA
in my pop up.It might make sense to mention in documentation.