Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
24/02/2005 22:03:42
|
Anonymous
|
Hello,
I want to give my visitors 2 languages for the agbook 2.3.1.
At the moment, I can only set the language in the admin section and it will be written in the database.
So I have a homepage, that is designed in 2 languages.
If someone comes from the german site, he schould see the guestbook in german automaticaly and if he comes from the english site, he should see the guestbook in english automaticaly.
How can I do this ??
Can I overwrite the lang variable from DB with an own value and fix it in the code ??
So then I will copy the GB in an extra folder and then the only difference is in this value.
Or is there an easier way for it (maybe a refferer from where he comes) ??
Regards
|
|
24/02/2005 22:24:00
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
From a quick scan of the scripts you can make a variable in the cookie called lang in which you can specify english or german and the guestbook should honour it.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|
|
|
|
Based on the open source JForum
|