Create website in malayalam language

css, html, utf-8

Solution

For Multiple language support in websites you need to take care of three things basically.

1. Meta tag

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

2. Font-face

@font-face {
    font-family: 'Malayalam';
    src: url('../fonts/meera.eot');
    src: url('../fonts/meera.eot?#iefix') format('embedded-opentype'),
         url('../fonts/meera.woff') format('woff'),
         url('../fonts/meera.ttf') format('truetype'),
         url('../fonts/meera.svg#Malayalam') format('svg');
    font-weight: normal;
    font-style: normal;
}

You can use Font Squirrel fontface generator if you just have the .ttf file

3. Doctype

If you use HTML5 doctype `<!DOCTYPE html>` it won't work sometimes.

Use

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Hope this helps!

Problem

It's my first work in web-designing. I have to develop a website having contents in Malayalam and menus in English. Anyone please help me in doing this. Thanks in advance.

Original source