<?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>Ma seule limite est mon imagination</description>
	<lastBuildDate>Sat, 04 Sep 2010 10:38:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>Par : Kevin Horst</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-1404</link>
		<dc:creator>Kevin Horst</dc:creator>
		<pubDate>Sat, 03 Jul 2010 13:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-1404</guid>
		<description>this doesn&#039;t work poperly because the chain router has a bug:
http://framework.zend.com/issues/browse/ZF-8812</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->this doesn&#8217;t work poperly because the chain router has a bug:</p>
<p><a href="http://framework.zend.com/issues/browse/ZF-8812" rel="nofollow">http://framework.zend.com/issues/browse/ZF-8812</a><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Zend Framework – Contra « schmiedler.com</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-1235</link>
		<dc:creator>Zend Framework – Contra « schmiedler.com</dc:creator>
		<pubDate>Fri, 11 Jun 2010 20:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-1235</guid>
		<description>[...] the ZF train again! I asked the big G for a couple of best practices regarding this topic. I found this quite cool description which was working quite fast. But if you are a little bit advanced you know that this is not enough [...]</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->[...] the ZF train again! I asked the big G for a couple of best practices regarding this topic. I found this quite cool description which was working quite fast. But if you are a little bit advanced you know that this is not enough [...]<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : multilanguage site: strategies - Zend Framework Forum</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-860</link>
		<dc:creator>multilanguage site: strategies - Zend Framework Forum</dc:creator>
		<pubDate>Thu, 22 Apr 2010 08:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-860</guid>
		<description>[...] german is meaningless).. Hence, my first worry is to set the correct locale and translator.. In this tutorial the authour uses an easier approach: he has only two valid languages and needs to make just a few [...]</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->[...] german is meaningless).. Hence, my first worry is to set the correct locale and translator.. In this tutorial the authour uses an easier approach: he has only two valid languages and needs to make just a few [...]<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Karl Delandsheere</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-446</link>
		<dc:creator>Karl Delandsheere</dc:creator>
		<pubDate>Mon, 15 Feb 2010 11:46:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-446</guid>
		<description>Bon... comme toujours, quand je pose la question, je trouve la réponse 5 minutes après :D...
Il suffisait de rajouter en ligne 19 :
$router-&gt;addRoute( &#039;default-i18n&#039;, $hook );
Je n&#039;y pensais plus parce qu&#039;avant tout se faisait automatiquement sur base de la config, et je voulais retirer ça de la config pour &quot;nettoyer&quot;.
Bref, affaire classée ! (on peut dire que ce problème n&#039;était pas trop &quot;dé-routant&quot; — c&#039;était mauvais... facile ET mauvais :D)</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Bon&#8230; comme toujours, quand je pose la question, je trouve la réponse 5 minutes après <img src='http://www.m4d3l-network.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> &#8230;</p>
<p>Il suffisait de rajouter en ligne 19 :<br />
$router-&gt;addRoute( &#8216;default-i18n&#8217;, $hook );</p>
<p>Je n&#8217;y pensais plus parce qu&#8217;avant tout se faisait automatiquement sur base de la config, et je voulais retirer ça de la config pour &laquo;&nbsp;nettoyer&nbsp;&raquo;.</p>
<p>Bref, affaire classée ! (on peut dire que ce problème n&#8217;était pas trop &laquo;&nbsp;dé-routant&nbsp;&raquo; — c&#8217;était mauvais&#8230; facile ET mauvais <img src='http://www.m4d3l-network.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> )<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Karl Delandsheere</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-444</link>
		<dc:creator>Karl Delandsheere</dc:creator>
		<pubDate>Mon, 15 Feb 2010 11:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-444</guid>
		<description>J&#039;ai à très peu de chose près la même méthode, à ça près que... ça ne marche pas :D.
Plus précisément, ça marche pour toutes mes routes sauf default.
Exemple pour default : &quot;.../fr&quot; ou &quot;.../fr/&quot; foirent (Uncaught exception &#039;Zend_Controller_Router_Exception&#039; with message &#039;No route matched the request&#039; thrown in .../Zend/Controller/Router/Rewrite.php on line 408) alors que &quot;.../fr/index&quot; ou &quot;.../fr/default&quot; fonctionnent. Et donc pour mes autres routes, ça fonctionne (vu que quelque chose suit la langue). &quot;.../fr/admin/i18n/locales/list&quot;, par exemple, fonctionne très bien.
Si tu veux bien me donner ton avis, voici le code concerné.
Ma config en INI : http://paste2.org/p/669311
Mon plugin I18nRouter : http://paste2.org/p/669313
Merci !</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->J&#8217;ai à très peu de chose près la même méthode, à ça près que&#8230; ça ne marche pas <img src='http://www.m4d3l-network.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<p>Plus précisément, ça marche pour toutes mes routes sauf default.</p>
<p>Exemple pour default : &laquo;&nbsp;&#8230;/fr&nbsp;&raquo; ou &laquo;&nbsp;&#8230;/fr/&nbsp;&raquo; foirent (Uncaught exception &#8216;Zend_Controller_Router_Exception&#8217; with message &#8216;No route matched the request&#8217; thrown in &#8230;/Zend/Controller/Router/Rewrite.php on line 408) alors que &laquo;&nbsp;&#8230;/fr/index&nbsp;&raquo; ou &laquo;&nbsp;&#8230;/fr/default&nbsp;&raquo; fonctionnent. Et donc pour mes autres routes, ça fonctionne (vu que quelque chose suit la langue). &laquo;&nbsp;&#8230;/fr/admin/i18n/locales/list&nbsp;&raquo;, par exemple, fonctionne très bien.</p>
<p>Si tu veux bien me donner ton avis, voici le code concerné.<br />
Ma config en INI : <a href="http://paste2.org/p/669311" rel="nofollow">http://paste2.org/p/669311</a><br />
Mon plugin I18nRouter : <a href="http://paste2.org/p/669313" rel="nofollow">http://paste2.org/p/669313</a></p>
<p>Merci !<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Jim</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-178</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Fri, 13 Nov 2009 15:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-178</guid>
		<description>&lt;a href=&quot;#comment-173&quot; rel=&quot;nofollow&quot;&gt;@Lorenzo Massacci &lt;/a&gt;
I would like to know this also.
How can I translate the controller and action names in the url?
I use a Zend_Translate with gettext adapter.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><a href="#comment-173" rel="nofollow">@Lorenzo Massacci </a><br />
I would like to know this also.<br />
How can I translate the controller and action names in the url?<br />
I use a Zend_Translate with gettext adapter.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : M4d3L</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-174</link>
		<dc:creator>M4d3L</dc:creator>
		<pubDate>Tue, 10 Nov 2009 01:29:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-174</guid>
		<description>You will have to setup the your route with the translator adapter
&lt;pre lang=&quot;php&quot;&gt;Zend_Controller_Router_Route::setDefaultTranslator($translator);&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->You will have to setup the your route with the translator adapter</p>
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">Zend_Controller_Router_Route<span style="color: #339933;">::</span><span style="color: #004000;">setDefaultTranslator</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$translator</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>
<p><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Lorenzo Massacci</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-173</link>
		<dc:creator>Lorenzo Massacci</dc:creator>
		<pubDate>Mon, 09 Nov 2009 16:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-173</guid>
		<description>Great tutorial!!!!
But :-)
I can also translate the name of the controller/action?
example:
&lt;code&gt;&lt;pre lang=&quot;ini&quot;&gt;http://www.site.com/it/pagina
http://www.site.com/en/page&lt;/pre&gt;&lt;/code&gt;
must go on the same controller / action with the language setting to IT or EN
thanks and sorry for may bad english</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Great tutorial!!!!</p>
<p>But <img src='http://www.m4d3l-network.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I can also translate the name of the controller/action?</p>
<p>example:</p>
<p><code></p>
<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">http://www.site.com/it/pagina
http://www.site.com/en/page</pre></div></div>
<p></code></p>
<p>must go on the same controller / action with the language setting to IT or EN</p>
<p>thanks and sorry for may bad english<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : summer</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-70</link>
		<dc:creator>summer</dc:creator>
		<pubDate>Tue, 22 Sep 2009 23:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-70</guid>
		<description>Just through other readers my like to know, Zend_Controller_Router_Route_Chain
used like this needs ZF 1.8 or grater</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Just through other readers my like to know, Zend_Controller_Router_Route_Chain<br />
used like this needs ZF 1.8 or grater<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : M4d3L</title>
		<link>http://www.m4d3l-network.com/developpement/php/zend-framework/add-language-route-to-your-zend-framework-project/comment-page-1/#comment-12</link>
		<dc:creator>M4d3L</dc:creator>
		<pubDate>Wed, 15 Jul 2009 18:27:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.m4d3l-network.com/?p=189#comment-12</guid>
		<description>Can you paste your code on paste2.org and link it in your comment to help me to see what you are doing wrong?
thank.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Can you paste your code on paste2.org and link it in your comment to help me to see what you are doing wrong?</p>
<p>thank.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
</channel>
</rss>
