Your Daily Source for Apache News and Information  
Breaking News Preferences Contribute Triggers Link Us Search About
PHPBuilder: Native Language Support
(Feb 16th, 15:54:05 )

"I found myself in positions which required me to deliver content in both English and Spanish, and in one project a third language. Here are the possibilities I explored:

Explicit links for each language
Use Apache's mod_negotiation
Use GNU Gettext support in PHP
Write your own"

"This article gives a brief introduction to the first three possibilities, but then we will go about the fourth solution which suited the requirements best, given the set of constraints. I am assuming that the reader is at least familiar with PHP programming and the use of PHP classes."

Complete Story

Related Stories:
PHPBuilder: Controlling PHP Output: Caching and compressing dynamic pages(Jan 25, 2001)
PHPBuilder: Introduction to WML, Apache, and PHP(Jan 22, 2001)
Zend: Top 21 PHP Programming Mistakes - Part 3: Seven Deadly Mistakes(Jan 20, 2001)
LinuxJournal: Installing and Configuring Apache, PHP and MySQL(Jan 16, 2001)
PHPeverywhere: Comparing PHP with Perl for Dynamic Web Pages(Jan 05, 2001)
PHPBuilder: SQL Theory & How-To(Jan 04, 2001)
PHPBuilder: Best Practices: PHP Coding Style(Jan 02, 2001)
WebTechniques: Optimize PHP 4(Dec 15, 2000)
WebDevelopersJournal: Why PHP?(Dec 11, 2000)


Printed from Apache Today (https://apachetoday.com).
https://apachetoday.com//news_story.php3?ltsn=2001-02-16-001-06-PS-DT-PH

About Triggers Media Kit Security Triggers Login


All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux 2.4, Apache 1.3, and PHP 4
Copyright 2002 INT Media Group, Incorporated All Rights Reserved.
Legal Notices,  Licensing, Reprints, & Permissions,  Privacy Policy.
http://www.internet.com/