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 
How can I set the language fix or ext. for agbook 2.3.1 ??  XML
Forum Index » Support Forum
Author Message
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
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum