News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Adding Multi-Language Support to Web Applications with PHP and PEAR
April 24, 2009 @ 14:48:15

On the Zend Developer Zone today a new tutorial has been posted about multi-language translation for your site with PHP and the Translation2 PEAR package.

If you're using PHP, adding multi-language support to a Web application is quite easy, especially since the PHP Extension and Application Repository (PEAR) includes some ready-made code to help you get started. And that's where this article comes in. Over the next few pages, I'll introduce you to PEAR's Translation2 package, and show you how you can use it to add multi-language support to your application.

You'll need to have everything up and running (including an install of the PEAR package) before getting started. The tutorial shows how to set up database tables and sample data to reference with a basic "Hello World" script as well as a few more complex examples involving user input and creating a cross-language menu for a sample site.

0 comments voice your opinion now!
pear tutorial translation2 package language switch


blog comments powered by Disqus

Similar Posts

Matthew Weier O'Phinney's Blog: Getting started writing ZF2 modules

DevShed: Tracking a Stack of Function Calls with the Xdebug Extension

Developer.com: SQLite: The Sensible Database Solution

ITNewb.com: Introduction to JSON and PHP

Lorenzo Alberton's Blog: PEAR::Pager - Navigation with Pager and AJAX (or simple Javascript)


Community Events





Don't see your event here?
Let us know!


laravel library artisanfiles community symfony framework tool opinion podcast series version conference language introduction voicesoftheelephpant list security composer release interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework