Developing multi language web sites using PHP is actually very easy. A common approach is having an include file for every supported language which contains an array that maps string ids to localized text (for example “WelcomeText” => “Welcome to our homepage.” would be included using something like ). However there are several problems with this approach. First of all, when the application is updated and additional strings are added, there is no way to determine which new strings were added and if they are present in every language (unless you write a script for it). What happens if a newly added string is not yet translated into a specific language? …

Full article here.

Posted in Coding at June 26th, 2008. Trackback URI: trackback
Tags: ,

2 Responses to “Localizing PHP web sites using gettext”

  1. August 27th, 2009 at 6:36 am #awocunusy

    awocunusy…

    Blueeyed Cass Nude

  2. July 15th, 2010 at 10:50 pm #DARYL


    Pillspot.org. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. High quality drugs. Buy drugs online

    Buy:Levitra.Soma.Cialis.Tramadol.Viagra Super Force.Propecia.Super Active ED Pack.VPXL.Cialis Soft Tabs.Viagra Super Active+.Cialis Super Active+.Zithromax.Viagra.Maxaman.Cialis Professional.Viagra Professional.Viagra Soft Tabs….

Leave a Reply

You must be logged in to post a comment.