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 
Messages posted by: SmOkiNj0e
Forum Index » Profile for SmOkiNj0e » Messages posted by SmOkiNj0e
Author Message
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.
 
Forum Index » Profile for SmOkiNj0e » Messages posted by SmOkiNj0e
Go to:   
Based on the open source JForum