Creating a web application which supports multiple languages

This demo application show you how to create web application which supports multiple languages.

Step 1.
Put below meta tag in HTML HEAD section
For HTML5 applications
<meta charset="UTF-8">
For HTML 4.01 applications
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

Step 2.
If your application invloves data which comes from MySQL.
Make sure your MySQL table charset/collation is set to UTF8
DEFAULT CHARSET=utf8

Step 3.
Set MySQL charset to utf8 after creating MySQL connection.
$mysqli->set_charset("utf8");

That’s it. Your application is ready to support multiple languages.

You can download this MultiLanguageWebApplication demo code from
Github