<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Commentaires sur : Add language route to your Zend Framework project.</title>
	<atom:link href="http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/</link>
	<description>Sky is NOT the limit!</description>
	<lastBuildDate>Thu, 09 Feb 2012 22:01:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Par : Nicky</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-39593</link>
		<dc:creator>Nicky</dc:creator>
		<pubDate>Wed, 01 Feb 2012 15:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-39593</guid>
		<description>I get it don.

Adding:

$router = Zend_Controller_Front::getInstance()-&gt;getRouter();
$router-&gt;setGlobalParam(&#039;language&#039;, $language);

to &#039;routeShutdown&#039; Will make the site.com/en/ variable to site.com/xx/

Regards,
Nick</description>
		<content:encoded><![CDATA[<p>I get it don.</p>
<p>Adding:</p>
<p>$router = Zend_Controller_Front::getInstance()-&gt;getRouter();<br />
$router-&gt;setGlobalParam(&#8216;language&#8217;, $language);</p>
<p>to &#8216;routeShutdown&#8217; Will make the site.com/en/ variable to site.com/xx/</p>
<p>Regards,<br />
Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Nicky</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-39587</link>
		<dc:creator>Nicky</dc:creator>
		<pubDate>Wed, 01 Feb 2012 13:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-39587</guid>
		<description>Thank you very much. It works well!

Just one question. I make use of Zend_Navigation configured though application.ini , when I point to the url site.com/fr/ my navigation still point to the default language &#039;en&#039; given in the application.ini . 

How can I fix that also the /language/ part of my navigation is variable so when I select site.com/fr/ my navigation will point also to site.com/fr/contact and not still be site.com/en/contact

Thanks,
Nick</description>
		<content:encoded><![CDATA[<p>Thank you very much. It works well!</p>
<p>Just one question. I make use of Zend_Navigation configured though application.ini , when I point to the url site.com/fr/ my navigation still point to the default language &#8216;en&#8217; given in the application.ini . </p>
<p>How can I fix that also the /language/ part of my navigation is variable so when I select site.com/fr/ my navigation will point also to site.com/fr/contact and not still be site.com/en/contact</p>
<p>Thanks,<br />
Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Zippp</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-39579</link>
		<dc:creator>Zippp</dc:creator>
		<pubDate>Wed, 01 Feb 2012 12:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-39579</guid>
		<description>Have been searching for such a simple exlpanation for ages!
Thank you very much, works like a charm :)</description>
		<content:encoded><![CDATA[<p>Have been searching for such a simple exlpanation for ages!<br />
Thank you very much, works like a charm <img src='http://www.m4d3l-network.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Drupal Development</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-39040</link>
		<dc:creator>Drupal Development</dc:creator>
		<pubDate>Mon, 09 Jan 2012 06:31:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-39040</guid>
		<description>I was searching these techniques since last few day for changing site language and here i got that. this tutorial is really very helpful to learn Zend framework and its different Plugin uses.</description>
		<content:encoded><![CDATA[<p>I was searching these techniques since last few day for changing site language and here i got that. this tutorial is really very helpful to learn Zend framework and its different Plugin uses.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : david</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-26650</link>
		<dc:creator>david</dc:creator>
		<pubDate>Wed, 05 Oct 2011 10:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-26650</guid>
		<description>Works fine but I have a basic question:

how to use a &#039;select&#039; element to switch language ?

Thanks</description>
		<content:encoded><![CDATA[<p>Works fine but I have a basic question:</p>
<p>how to use a &#8216;select&#8217; element to switch language ?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : qwerty</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-20308</link>
		<dc:creator>qwerty</dc:creator>
		<pubDate>Thu, 25 Aug 2011 05:15:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-20308</guid>
		<description>I get error:

Fatal error: Call to a member function getLanguage() on a non-object in D:\xampp\htdocs\compas.local\application\plugins\Initializer.php on line 52

please help me</description>
		<content:encoded><![CDATA[<p>I get error:</p>
<p>Fatal error: Call to a member function getLanguage() on a non-object in D:\xampp\htdocs\compas.local\application\plugins\Initializer.php on line 52</p>
<p>please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : تبلیغات</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-11999</link>
		<dc:creator>تبلیغات</dc:creator>
		<pubDate>Sat, 25 Jun 2011 21:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-11999</guid>
		<description>Awesome Article.
clear, simple and complete.
many thanks.
aboozar</description>
		<content:encoded><![CDATA[<p>Awesome Article.<br />
clear, simple and complete.<br />
many thanks.<br />
aboozar</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Hastaroth</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-5415</link>
		<dc:creator>Hastaroth</dc:creator>
		<pubDate>Wed, 27 Apr 2011 19:19:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-5415</guid>
		<description>Bonsoir,
J&#039;essaye de faire fonctionner ta solution pour un site multilingue
Tu as bien écrit &quot;Dont forgot to setup your locale and translate resources!&quot;
Je suis d&#039;accord, mais je ne sais ni où ni comment recupérer la locale en cours et je me retrouve avec la locale par défaut (fr) sur toute les pages même celle en domain.tld/en

Un petit éclaircissement ne serait pas de refus</description>
		<content:encoded><![CDATA[<p>Bonsoir,<br />
J&#8217;essaye de faire fonctionner ta solution pour un site multilingue<br />
Tu as bien écrit &laquo;&nbsp;Dont forgot to setup your locale and translate resources!&nbsp;&raquo;<br />
Je suis d&#8217;accord, mais je ne sais ni où ni comment recupérer la locale en cours et je me retrouve avec la locale par défaut (fr) sur toute les pages même celle en domain.tld/en</p>
<p>Un petit éclaircissement ne serait pas de refus</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : zend framework freak</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-5068</link>
		<dc:creator>zend framework freak</dc:creator>
		<pubDate>Thu, 14 Apr 2011 16:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-5068</guid>
		<description>Nice post! Where do you prefer (or is considered the best practice) to store application routes. Bootstrap, ini, xml? This things can get really heavy.

tnx</description>
		<content:encoded><![CDATA[<p>Nice post! Where do you prefer (or is considered the best practice) to store application routes. Bootstrap, ini, xml? This things can get really heavy.</p>
<p>tnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Mark in Tallinn</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-4142</link>
		<dc:creator>Mark in Tallinn</dc:creator>
		<pubDate>Mon, 31 Jan 2011 12:08:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-4142</guid>
		<description>as I&#039;m using the modular srtucture of bootstrap, can&#039;t yet figure out how to create an extra route so that the front page without /fr would also work. Otherwise the language route works fine.

Message: No route matched the request
Stack trace:

#0 /var/www/library/ZendFramework-1.11.2/Zend/Controller/Front.php(911): Zend_Controller_Router_Rewrite-&gt;route(Object(Zend_Controller_Request_Http))
#1 /var/www/library/ZendFramework-1.11.2/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front-&gt;dispatch()
#2 /var/www/library/ZendFramework-1.11.2/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap-&gt;run()
#3 /var/www/intallinn.eu/booking/public/index.php(65): Zend_Application-&gt;run()
#4 {main}</description>
		<content:encoded><![CDATA[<p>as I&#8217;m using the modular srtucture of bootstrap, can&#8217;t yet figure out how to create an extra route so that the front page without /fr would also work. Otherwise the language route works fine.</p>
<p>Message: No route matched the request<br />
Stack trace:</p>
<p>#0 /var/www/library/ZendFramework-1.11.2/Zend/Controller/Front.php(911): Zend_Controller_Router_Rewrite-&gt;route(Object(Zend_Controller_Request_Http))<br />
#1 /var/www/library/ZendFramework-1.11.2/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front-&gt;dispatch()<br />
#2 /var/www/library/ZendFramework-1.11.2/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap-&gt;run()<br />
#3 /var/www/intallinn.eu/booking/public/index.php(65): Zend_Application-&gt;run()<br />
#4 {main}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

