Page 1 of 1

Change Language

Posted: Wed Jan 11, 2012 11:48 am
by pHundt
Script URL: PHP Guestbook
Version of script: 1.7
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below: Hello, I have successfully loaded the Guest book and it works! Now I ma trying to make it look nice and I have only had limited results. This is as far as I have gotten.
http://www.imrreisen.de/Gbook/gbook.php naturally I would like it to loook a lot more like the rest of my website (www.imrreisen.de). I am using an older version of Dreamweaver (2004) and can make the changes to style.css etc. there. The most important challenge for me is to change the titles and commands to German. I have combed through your code but can't find where text such as "View Guestbook" is written.

Can you help me.
Best regards,
Peter

Re: Change Language

Posted: Wed Jan 11, 2012 5:57 pm
by Klemen
Hello Peter,

All the text used by GBook is located inside the "language.inc.php" file - open it in a plain text editor (like Notepad or your Dreamweaver) and modify the text to fit your needs.

You will also find an existing German translation here:
viewtopic.php?f=3&t=3402

Re: Change Language

Posted: Sat Jun 23, 2012 6:55 pm
by asaki
:idea: I want to use two different languages in the Guestbook. Is it possible that the user should decide which language to use. My idea is to put some code in index.php in order to select language and after selecting the Guestbook, it should open in desired language.

Re: Change Language

Posted: Sat Jun 23, 2012 7:05 pm
by Klemen
Not possible at the moment, but planned for future.

Re: Change Language

Posted: Sat Jun 23, 2012 7:19 pm
by asaki
Klemen wrote:Not possible at the moment, but planned for future.
Thanks! In waiting for this really good usage, I shall prepare the translation in Slovenian language. For now I am obliged to use only English language on my Website. I am using your scripts from today (23rd July 2012).
Link => http://www.stane.saax.com/Gbook/index.php

Re: Change Language

Posted: Sun Jun 24, 2012 8:36 am
by Klemen
Slovensko znam tudi jaz :wink: :lol:

Pa lep pozdrav!

Re: Change Language

Posted: Sun Jun 24, 2012 9:53 am
by Henrie
Yes Klemen, you can do Slovenian language. But the language is not yet available as a language to download. So it will be excellent if asaki will provide it.

Pozdrav,
Henrie

Re: Change Language

Posted: Sun Jun 24, 2012 4:58 pm
by asaki
Klemen wrote:Slovensko znam tudi jaz :wink: :lol:

Pa lep pozdrav!
Pravkar sem naredil slovenski prevod in sem ga testiral kolikor je bilo mogoče. Ga pošljem? Ja iščem tule, kam se pošlje? Vabljen na ogled moje strani in mali zapis v Knjigo gostov! :mrgreen:

Re: Change Language

Posted: Sun Jun 24, 2012 7:35 pm
by Klemen
(will write in English)

Feel free to send me the translation at info@SPAMphpjunkyard.com (remove "SPAM" from the address) and I will upload it to here.

Re: Change Language

Posted: Mon Jun 25, 2012 2:11 pm
by asaki
Klemen wrote:(will write in English)

Feel free to send me the translation at info@SPAMphpjunkyard.com (remove "SPAM" from the address) and I will upload it to here.
Translation sent. Visit my New Guestbook http://www.stane.saax.com/Gbook/index.php
:mrgreen:

Re: Change Language

Posted: Mon Jun 25, 2012 7:31 pm
by Klemen
I'm afraid I didn't receive it - did you perhaps get a returned mail (email delivery failed)?

Could you try sending it again please and add the language file to a Zip file.