If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced guestbook and two different languages  XML
Forum Index » Support Forum
Author Message
larp123
Newbie

Joined: 20/10/2007 14:27:26
Messages: 2
Offline

Hi

I have a website where i run two different languages.
I have placed the Advanced Guestbook in two different subfolders.
If i change the language in one Guestbook i also change the language in the other.

How can i use Advanced Guestbokk with two diferrent languages ?
SmOkiNj0e
Newbie

Joined: 13/11/2007 23:57:04
Messages: 1
Offline

I ran into the same problem.... searched the forum, where there seemed to be a long-winded and flaky solution using cookies.

So I made my own solution, and got it running perfectly on a tri-lingual website I am currently developing shown here:

http://www.claro-orihuela.eu/eng/

Here is my simple solution:

1. I first installed the guestbook in gb-eng folder, setting it to use the database previously created. In admin, I set the language to english.

2. Second installation went into gb-es folder for my spanish translated guestbook. The database setting was the same as the first, just changed the path setting in the config file.

3. Third installation went in gb-de folder for my german translation. Same database once again, changed the path to reflect the correct folder in the config file again.

4. Here is the simple "magic" bit... in installation 2, I renamed the spanish language files codes-spanish.php and spanish.php to codes-english.php and english.php respectively. Then did the same for my german language files.

Works like a charm. Hope my simple solution encourages others to use this fine script for their multilingual websites.

Regards,

---- -= SmOkiNjOe =-

Orihuela Costa Directory
Nokia N900
TX-P42V10 Panasonic VIERA
larp123
Newbie

Joined: 20/10/2007 14:27:26
Messages: 2
Offline

THANKS...

Works perfectly
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum