Creating a multilingual website with Smarty

Posted by scrubs on Nov 20, 2008 7:19 AM EDT
Free Software Magazine; By Ryan Cartwright
Mail this story
Print this story

Some time ago I was required to adapt a bespoke website application (which I had originally written) so it not only supported multiple languages but also multiple character sets. The website, MakingContact.org, is a on-line community for families with disabled children run by the charity Contact a Family. It required “support” for four languages in addition the English it was currently in: Somali, Arabic, Farsi and Simplified Chinese. Yes, I know the latter is not actually a language but for these purposes the cap fitted. I decided to do it using Smarty, the PHP-based templating engine. Whilst it was possible that a CMS or similar could do the job now, at the time I could find none which supported multiple character sets in the way I required. I’ve been meaning to write the process down for some time so here’s how I did it. Read Ryan's story of how he did it at Freesoftware Magazine.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.