News Feed
Sections




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

WebReference.com:
Create a Localized Web Page with PHP
October 21, 2010 @ 13:21:23

On WebReference.com there's a new tutorial posted about localizing your website by defining a character set to use for your content.

The process of making your applications/websites usable in many different locales is called internationalization, While customizing your code for different locales is called localization. Localization is the process of making your applications or websites local to where it is being viewed. For example, you can make a website more local to a particular place by converting its text to the predominate language of that location and by displaying the local time (e.g. German for people living in Germany or French for people living in France).

They show how to define constants that can be used in your application for the character set and language encoding. They use two major encodings - UTF-8 and ISO-8859-1 - in their examples of showing a sample "welcome" message in different languages. There's also a simple page to show you how to switch between languages if you'd like to give your visitors the option.

0 comments voice your opinion now!
localize tutorial language encoding character


blog comments powered by Disqus

Similar Posts

NetTuts.com: Zend Framework from Scratch - Models and Integrating Doctrine ORM

IBM developerWorks: Understanding the Zend Framework,Part 4: When there is no feed, Zend_HTTP_Client

KillerPHP.com: Two New Video Tutorials Posted

Content with Style: Getting phpunit to work with MAMP

Sebastian Bergmann's Blog: Getting Started with Hamcrest


Community Events

Don't see your event here?
Let us know!


unittest library interview extension api wordpress podcast laravel language opinion feature framework laravel5 voicesoftheelephpant introduction development community series release threedevsandamaybe

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework