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