multi-lingual Gbook

Everything related to GBook PHP guestbook
Post Reply
rickydick
Posts: 1
Joined: Thu Nov 22, 2007 7:46 pm

multi-lingual Gbook

Post by rickydick »

/*************************************
Title: multi-lingual Gbook
Version: 1.5
Author:
Demo:
Download:
Website: www.richardackermann.ch

Short description: using one guestbook in several languages at the same time... but SPAM protection not working!


*************************************/

Hello!

this might be less of a topic in the US, but since we have MANY languages in Europe, I built my website in three languages: English, French, German.
Since I wanted to have an adapted interface for each language, I created three gbook.php files in my folder, naming them gbook_en.php, gbook_fr.php and gbook_de.php. So, whilst all visitors see the same guestbook, the interface shall be adapted to the visitor's language.

To make this work, apart from translating everything visible for the visitor, all I had to adapt within the code was replacing every gbook.php-reference to the new names.

Everything works perfectly fine, with one exception: SPAM-filters are no more operational
• in image mode: the security image is not loaded.
• text-mode: the number appears in the beginning, but will disappear once an error message is displayed.

I figured out that the other php-files in the gbook-folder would contain some reference to the gbook.php that shall be adapted, but could not locate any...

Anybody able to tell me which line I have to edit? Of course, I am aware that I might need to have also three different secimg.inc.php-files, three print_sec_img.php etc., but that doesn't bother me.

Thank you very much for any feedback!

Richard Ackermann
Switzerland

P.S. Simply to say: I've been quiet looking around for a good guestbook, but gbook is truly the best ;-) Thanks for the great work!
Post Reply