<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Zendcasts Forum / Multilingual database patterns?]]></title>
		<link>http://www.zendcasts.com/forum/viewtopic.php?id=125</link>
		<description><![CDATA[The most recent posts in Multilingual database patterns?.]]></description>
		<lastBuildDate>Tue, 26 Jan 2010 19:50:05 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Multilingual database patterns?]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?pid=578#p578</link>
			<description><![CDATA[<p>Sorry for takling so long to return but I am pretty occupied.<br />I searched and all I could find concerning a Zend_Translate + Zend_Db adapter is this<br /><a href="http://framework.zend.com/issues/browse/ZF-2248">http://framework.zend.com/issues/browse/ZF-2248</a><br />Wich states its not ready yet but in development. I might try to make one myself. Should&#039;nt be too complicated.</p>]]></description>
			<author><![CDATA[dummy@example.com (iznogood)]]></author>
			<pubDate>Tue, 26 Jan 2010 19:50:05 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?pid=578#p578</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multilingual database patterns?]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?pid=552#p552</link>
			<description><![CDATA[<p>I know about zend_translate. But I did&#039;nt know it could automate the translation of stuff in my database. For instance news on a website that users can add to from a CMS.<br />I use zend_translate all the time to translate static text on my projects.</p><p>I&#039;ll look into that.<br />Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (iznogood)]]></author>
			<pubDate>Thu, 14 Jan 2010 15:20:32 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?pid=552#p552</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multilingual database patterns?]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?pid=551#p551</link>
			<description><![CDATA[<p>&#039;My question is simply am I missing some very easy way to do what I want to do?&#039;</p><p>Yes. Look up Zend_Translate in the manual. You can use a db to store translations.. but its more common to use files instead.</p>]]></description>
			<author><![CDATA[dummy@example.com (Manuel)]]></author>
			<pubDate>Thu, 14 Jan 2010 08:14:02 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?pid=551#p551</guid>
		</item>
		<item>
			<title><![CDATA[Multilingual database patterns?]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?pid=547#p547</link>
			<description><![CDATA[<p>Hi all. </p><p>Am I tired of having to deal with multiple languages in my Websites. <br />Heres is what I always end up doing:<br />for every element that has text that is translated I create two tables:<br />element_index: stuff not translated (dates, file names, booleans)<br />element_content: all the text + a lang field + a id to the index table.</p><p>So now everytime I wuery something I just add <br />-&gt;where(&#039;lang=?&#039;, $lang)</p><p>and I get the right text.</p><p>My question is simply am I missing some very easy way to do what I want to do? It does&#039;nt seem complicated but when I get into big products tables full of dynamic categories in there own tables (so every one has a matching content table) it makes for big querys.</p><p>Sorry for my English I am a french Canadian so if anything is&#039;nt clear just ask. For what its worth I really want a discussion on translation of stuff queryed from a db.</p><p>Thanks in advance!</p><p>edit: Ever since I started using models the translation stuff has gotten a little less heavy since I just take care of it in the constructor for my zend_db models. Used to be I had to add a lang variable everywhere ouch.</p>]]></description>
			<author><![CDATA[dummy@example.com (iznogood)]]></author>
			<pubDate>Mon, 11 Jan 2010 17:54:17 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?pid=547#p547</guid>
		</item>
	</channel>
</rss>

