<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 25 May 2013 06:16:32 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zend Developer Zone: Creating Multi-Language Web Applications with Zend_Translate]]></title>
      <guid>http://www.phpdeveloper.org/news/15887</guid>
      <link>http://www.phpdeveloper.org/news/15887</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today there's <a href="http://devzone.zend.com/article/12995-Creating-Multi-Language-Web-Applications-with-Zend_Translate">a new tutorial</a> they've posted looking at adding multi-language support to your applications with the help of the Zend_Translate component of the <a href="http://framework.zend.com">Zend Framework</a>. It makes it simple to swap between sets of language data without much effort on your part.
</p>
<blockquote>
If you're a Web developer building an application for global consumption, it's important for you to build in a framework for multi-language support right from the start. Fortunately, there are a number of ready-made components that can help with this task. This article will introduce you to one such component, Zend_Translate, and demonstrate how you can use it to add multi-language support to your PHP application.
</blockquote>
<p>
There's no "magic bullet" here that'll do the translation for you, but he shows you how to set up the data for the different languages, either in PHP arrays or in translation files, that the Zend_Translate component knows how to use. He also mentions the component's ability to scan a directory tree for language files an detect the language based on a naming convention. He also mentions the "gettext" tool that you can use to generate language files based on a standard GNU format that can be used cross-language with several different tools.
</p>
<p>
There's lots of other handy bits in <a href="http://devzone.zend.com/article/12995-Creating-Multi-Language-Web-Applications-with-Zend_Translate">the tutorial</a> so I suggest reading if you're thinking about any kind of translation for your site.
</p>]]></description>
      <pubDate>Thu, 10 Feb 2011 12:03:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Gabi Solomon's Blog: Using Zend Framework Language Component]]></title>
      <guid>http://www.phpdeveloper.org/news/11615</guid>
      <link>http://www.phpdeveloper.org/news/11615</link>
      <description><![CDATA[<p>
<i>Gabi Solomon</i> as a <a href="http://www.gsdesign.ro/blog/using-zend-framework-language-component/">recent post</a> to his blog about using the routing in the Zend Framework to add a multi-language component to your site.
</p>
<blockquote>
Today i will continue the series of articles on the <a href="http://www.gsdesign.ro/blog/tag/zend-framework/">Zend Framework</a> and i am going to talk about how i come to use the language component from Zend. The way i decided to go with it is by having a <a href="http://framework.zend.com/manual/en/zend.controller.plugins.html">controller plugin</a> that starts the language component and also detects the language.
</blockquote>
<p>
He shows the creation of the bootstrap file to handle the different language requests in the URL and how to register the plugin for the application to use later on (GSD_Controller_Plugin_Language). The code for the plugin is included - it uses the Zend_Locale and Zend_Translate components to handle the translation between languages. This lets you push information out to the view and have the framework automatically translate it to the right language for you based on the URL.
</p>]]></description>
      <pubDate>Tue, 23 Dec 2008 13:27:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer.com: Build Multi-lingual Websites With the Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/8060</guid>
      <link>http://www.phpdeveloper.org/news/8060</link>
      <description><![CDATA[<p>
Developer.com has a <a href="http://www.developer.com/tech/article.php/3683571">new tutorial</a> posted today dealing with a specific use of one of the more popular PHP frameworks currently, the <a href="http://framework.zend.com">Zend Framework</a>, and using it to create multi-lingual websites from <i>Jason Gilmore</i>.
</p>
<blockquote>
Despite my best attempts I'm unable to speak this array of languages, but as a Web developer I wanted to create the most efficient means for hosting a multi-lingual support site, and then work with native speakers to translate the English material. Because the support site runs the Zend Framework, naturally I wondered whether some sort of translation component was available, and sure enough a quick perusal of the <a href="http://framework.zend.com/">Zend Framework</a> website turned up <a href="http://framework.zend.com/manual/en/zend.translate.html">Zend_Translate</a>. In this brief tutorial I'll document how I'm using the Zend Framework to make my website available to the world.
</blockquote>
<p>
<i>Jason</i> breaks up <a href="http://www.developer.com/tech/article.php/3683571">the article</a> into two main sections - an introduction to using the Zend_Translate component and examples of it in action (including the creation of CSV files to trade out the translations.
</p>]]></description>
      <pubDate>Fri, 15 Jun 2007 13:29:54 -0500</pubDate>
    </item>
  </channel>
</rss>
