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

IBM developerWorks:
How to internationalize your PHP apps
Jan 23, 2007 @ 16:08:00

On the IBM developerWorks site, there's a new article looking to help you internationalize your applications easily.

Localizing an application can be planned, or it can happen as a rushed afterthought. Discover techniques and tools such as gettext, XML, XSLT, and design patterns that can help when retrofitting localization into a mature product or planning for localization up front.

They start with a bit of a guide on how to assess the situation and see what would need to be considered before even starting on the process (looking at a Yahoo RSS feed). There's a brief look at some terminology, then its right into the code - retrofitting your content (the RSS feed) via XML content and the gettext functionality.

The also include a design pattern for localization in the MVC style that handles the transformation automatically.

tagged: internationalize application content gettext rss feed yahoo mvc pattern internationalize application content gettext rss feed yahoo mvc pattern

Link:


Trending Topics: