News Feed
Sections




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

Northclick Blog:
Tutorial for the easy use of gettext for internationalization of PHP Apps
May 04, 2007 @ 13:13:14

In a new post on the Northclick blog today, there's a tutorial that looks to make it easy to use the gettext functionality that PHP offers to internationalize your site.

This tutorial is for people who start or want to optimize the internationalization of their PHP Apps. We wrote it due the lack of useful resources. Although there are many tutorials for gettext out there it is still a very complicated issue.

They start with the Pros and Cons of using the functionality like "it's the defacto-standard for i18n of unix systems and their applications" versus things like "debbuging gettext can be hard in PHP". The rest of the post is broken up into five steps:

  • Generate Functions and init gettext
  • Translate your Application
  • Generate a pot file (Template)
  • Generate your PO Files from your POT Template and translate
  • Generate Binaries
They also offer some helpful hints too like how to update the translation files and some solutions to some common issues you might come across.

0 comments voice your opinion now!
gettext internationalization application tutorial gettext internationalization application tutorial


blog comments powered by Disqus

Similar Posts

Community News: Symfony-Check.org (A Symfony Deployment Checklist)

NetTuts.com: Refactoring Legacy Code: Part 6 - Attacking Complex Methods

Lorna Mitchell's Blog: Getting Dates from Week Numbers in PHP

SitePoint PHP Blog: Message Queues: Comparing Beanstalkd, IronMQ and Amazon SQS

Travis Swicegood: Fluent-API, here I come!


Community Events





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


api language install community introduction unittest zendserver deployment release interview series symfony package library laravel framework bugfix voicesoftheelephpant podcast opinion

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