ASPit - Totally ASP JSit - Totally JavaScript
Search PHPit

Use this textbox to search for articles on PHPit. Seperate keywords with a space.

Advertisements

Internationalising your PHP scripts?

Jim Plush has posted some excellent tips about language files and international PHP scripts on his blog. In his entry, which can be viewed by clicking here he gives nine pointers on what you should look out for when creating a PHP script that needs to support different languages. And it's a lot harder than I thought. Who knew that the Arial or Verdana font doesn't support Japanese characters? Or that German causes most text to be 40% longer? These are all things you must take into account.

Thankfully, Jim does provide a good workaround for all the problems, and he's even done some testing on the best way to store the text strings. This entry is definitely a must-read if you're looking to release your PHP script in multiple languages!

Leave a Reply