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 |
|
Carbonize,
Thanks for your help. I have added the javascript to my guestbook and it works great! Still hoping to find a solution for automatic browser language recognition, but I can do with your solution very well!
Parkiet
|
|
|
Dear Carbonize,
Thank you for your fast answer. Since I have been trying again, but without any success. Concerning your remark forcing visitors to see AVGB in their browser language, I do not understand. Because if I do not make the guesbook bilangual, I am forcing them all to see AVGB in Dutch (which is too difficult for most readers), or in English(, that is not too often understood by the people of my home country). I would be very pleased to hear from you or someone else how to change the script. Otherwise I have to give up. Which I should regret because I really like the AVGB.
Parkiet
|
|
|
Hallo,
I am busy building a new site that is bilangual. I integrated the Advanced Guestbook. I have used a simple php script that recognizes the browser user language and if this is not Dutch it changes to the English items: if ($userlang=="")
{
$userlang=$HTTP_ACCEPT_LANGUAGE;
$userlang=substr($userlang,0,2);
}
if ($userlang=="nl")
{ } else {}
This works, but I do not know how to have Advanced Guest also changing from Dutch to English automatically in this way. I tried several times in template.class.php, but did not succeed. Perhaps it is the wrong file too. Is there anybody who knows how to do this? Should be nice for other languages also.
Parkiet
|
|
|
|
|
|
Based on the open source JForum
|