<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Advanced Guestbook - Multilanguage support"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Advanced Guestbook - Multilanguage support"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Advanced Guestbook - Multilanguage support</title>
				<description><![CDATA[ Hi all<br /> <br /> I'm completely a newbie in PHP. Because of an article here I tried to create the language.php site with the following code: <br /> <br /> &lt;?php <br />   $referer = getenv("HTTP_REFERER"); <br />   if (empty($referer)) { <br />     $target = "index.php"; <br />   } <br />   if(!isset($lang)) { <br />     $lang = "english"; <br />   } <br />   SetCookie("lang", "$lang", time()+86400*365); <br />   header("Location: $target");<br />   exit(); <br /> ?&gt; <br /> <br /> <br /> and a site called language.htm with the following code:<br /> <br /> &lt;body&gt;<br /> &lt;a href="language.php?lang=english"&gt;English&lt;/a&gt;<br /> &lt;a href="language.php?lang=german"&gt;German&lt;/a&gt;<br /> &lt;/body&gt;<br /> <br /> it never worked, the Guestbook is always shown in the default language I set by administration panel.<br /> <br /> Is somebody there who can help me? Thank you very much.<br /> <br /> BTW: I use the Advanced Guestbook v.2.2 (If I try the new version, I can not access anymore to the mySQL Database  <img src="https://proxy2.de/forum//images/smilies/c30b4198e0907b23b8246bdd52aa1c3c.gif" /> . I don't know why but if you have a solution for the v.2.2 I would be very happy)<br /> <br /> Thank you very much<br /> Ralf]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1301/3212.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1301/3212.php</link>
				<pubDate><![CDATA[Sun, 8 Dec 2002 23:16:42]]> GMT</pubDate>
				<author><![CDATA[ R. Meier]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ For english and german it may work with the following changes (guestbook 2.3.1 !!!):<br /> <br /> (I show the previous 2 lines of code)<br /> <br /> templates\success-php.htm (starts from line 1)<br /> [code]<br /> &lt;html&gt;<br /> &lt;head&gt;<br /> $LANG&#91;metatag&#93;<br /> [/code]<br /> <br /> <br /> lib/vars.class.php (starts from line 35)<br /> [code]<br /> $this-&gt;template-&gt;set_lang&#40;$this-&gt;VARS&#91;&quot;lang&quot;&#93;&#41;;<br /> &#125;<br /> // Enable use of index.php?language=xyz in order to preset language<br /> // instead of using default language in database<br /> if &#40;isset&#40;$_GET&#91;'language'&#93;&#41;&#41; &#123;<br /> $this-&gt;template-&gt;set_lang&#40;$_GET&#91;'language'&#93;&#41;;<br /> setcookie &#40;'lang', $_GET&#91;'language'&#93;&#41;;<br /> &#125;<br /> [/code]<br /> <br /> You can call the different languages through<br /> http://xyz/guestbook/index.php?language=german<br /> or<br /> http://xyz/guestbook/index.php?language=german<br /> <br /> My solution is not very nice as it seems that the guestbook does not autoconvert Umlauts to &amp;xyz; neither stores it as unicode. So you will see some distortions if you switch to english encoding.<br /> <br /> [b]To the author(s) of Advanced Guestbook:[/b]<br /> It would be really great if all languages could be shown properly! Are there any plans to implement this feature?[/b]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1301/3317.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1301/3317.php</link>
				<pubDate><![CDATA[Tue, 17 Dec 2002 14:49:37]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I'm trying to use this for English/French but I didn't quite understand the code typed below. Could someone help?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1301/10148.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1301/10148.php</link>
				<pubDate><![CDATA[Sat, 28 Aug 2004 13:22:56]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
	</channel>
</rss>