How to Rewrite the Cookie Notice in phpBB 3.2.2

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Scam Warning
Post Reply
janurmas
Registered User
Posts: 8
Joined: Sun Aug 26, 2018 10:49 pm

How to Rewrite the Cookie Notice in phpBB 3.2.2

Post by janurmas » Sun Aug 26, 2018 11:58 pm

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!
Last edited by janurmas on Wed Aug 29, 2018 10:36 am, edited 1 time in total.

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 1841
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: How to Rewrite the Cookie Nitice in phpBB 3.2.2

Post by kinerity » Mon Aug 27, 2018 12:20 am

It should be included in the 3.2.2 language files for Indonesian.
Kailey Truscott - Community Team

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 49487
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: How to Rewrite the Cookie Nitice in phpBB 3.2.2

Post by stevemaury » Mon Aug 27, 2018 3:29 pm

For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me.

All unsolicited PMs will be ignored.

janurmas
Registered User
Posts: 8
Joined: Sun Aug 26, 2018 10:49 pm

Re: How to Rewrite the Cookie Nitice in phpBB 3.2.2

Post by janurmas » Tue Aug 28, 2018 9:48 pm

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.

User avatar
Lumpy Burgertushie
Registered User
Posts: 64881
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: How to Rewrite the Cookie Nitice in phpBB 3.2.2

Post by Lumpy Burgertushie » Tue Aug 28, 2018 10:07 pm

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
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

janurmas
Registered User
Posts: 8
Joined: Sun Aug 26, 2018 10:49 pm

Re: How to Rewrite the Cookie Notice in phpBB 3.2.2

Post by janurmas » Wed Aug 29, 2018 10:37 am

Okay, thank you very much Lumpy Burgertushie! I gonna try it.

Post Reply

Return to “phpBB Discussion”

Who is online

Users browsing this forum: Mathieu M. and 31 guests