Page 1 of 1

How to Rewrite the Cookie Notice in phpBB 3.2.2

Posted: Sun Aug 26, 2018 11:58 pm
by janurmas
Hello, I am new to using phpBB. My forum site serves Indonesian, so I want to rewrite/change the cookie notice to the Indonesian language. The default cookie notice is "This website uses cookies to ensure you get the best experience on our website. Learn more". Should I change it on my site's control panel? If so, in which file that default cookie notice is written? Thanks!

Re: How to Rewrite the Cookie Nitice in phpBB 3.2.2

Posted: Mon Aug 27, 2018 12:20 am
by kinerity
It should be included in the 3.2.2 language files for Indonesian.

Re: How to Rewrite the Cookie Nitice in phpBB 3.2.2

Posted: Mon Aug 27, 2018 3:29 pm
by stevemaury

Re: How to Rewrite the Cookie Nitice in phpBB 3.2.2

Posted: Tue Aug 28, 2018 9:48 pm
by janurmas
kinerity wrote:
Mon Aug 27, 2018 12:20 am
It should be included in the 3.2.2 language files for Indonesian.
I'm not used with the Indonesian language for tweaking web files. But I just want to change some text to Indonesian. How should I customize it.

Re: How to Rewrite the Cookie Nitice in phpBB 3.2.2

Posted: Tue Aug 28, 2018 10:07 pm
by Lumpy Burgertushie
not sure what that means.

if you are using the indonesian language on your board then you simply have to edi the appropriate file in the indo language package.
if you are not using the language pack then edit the appropriate file in whatever language you are using.
you use ftp, not your hosting control panel.
you download the relevant php file to your computer.
which would be the file named common.php in the language/yourlanguage folder.

open that file in a good text editor.
find this, around line #181

Code: Select all

'COOKIE_CONSENT_INFO'	=> 'Learn more',
	'COOKIE_CONSENT_MSG'	=> 'This website uses cookies to ensure you get the best experience on our website.',
	'COOKIE_CONSENT_OK'		=> 'Got it!',
only edit the part on the right side between the apostrophes. do NOT remove the apostrophes.
do NOT use any apostrophes in the text your change.

save the file, upload back to the server using the ftp.
purge the cache on the board, refresh your browser and it should be just fine.


robert

Re: How to Rewrite the Cookie Notice in phpBB 3.2.2

Posted: Wed Aug 29, 2018 10:37 am
by janurmas
Okay, thank you very much Lumpy Burgertushie! I gonna try it.