Tuesday, 15 October 2013


As you all know that we are also running a Website Development Business along with the Domain Selling and Web Hosting Services. It was a Very Big Concern to me so far saying no for Writing Posts in Hindi In WordPress Blogs or Sites with or Without Using WordPress Plugins.



Finally a good resolution has came in front of me with the help of an article posted by Sujith (from Kerela) an INDIAN who sorted out the problems of we INDIANS. This shows that -


“अपने तो अपने होते है”.


Requirements:


Control Panel Access


No WordPress Plugins


No Tough Coding


Internet Access


And finally a Will – I CAN


Procedure goes here…


1st – Go to your Hosting Control Panel


2nd – Check the directory where the WordPress is installed (Root Directory or Sub Directory or Sub Domain) and find Wp-Config.php file.


3rd – Search for the comments:


/** Database Charset to use in creating database tables. */


define(‘DB_CHARSET’, ‘utf8′);


/** The Database Collate type. Don’t change this if in doubt. */


define(‘DB_COLLATE’, ”);


and just add // slash before the main comments like this:


/** Database Charset to use in creating database tables. */


//define(‘DB_CHARSET’, ‘utf8′);


/** The Database Collate type. Don’t change this if in doubt. */


//define(‘DB_COLLATE’, ”);


4th – Save File and close the window.


5th – Now search the Header file of your Theme either from Control Panel (I am using Cpanel) by going to public_html/directory name/wp-content/themes/themename/header.php or simply Login to your WP Dashboard and go to Theme Editor and select header.php file.


6th – Add the following line after the Author comments ends, something like:


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

  • <html xmlns=”http://www.w3.org/1999/xhtml” lang=”en-US” xml:lang=”en-US”>

  • <head profile=”http://gmpg.org/xfn/11″>

  • <meta http-equiv=”Content-type” content=”text/html;charset=UTF-8″>

  • <meta charset=”UTF-8″>

Where <meta charset=”UTF-8″> is the new added line.


7th – Now just copy and paste the Hindi content and save draft before publishing to preview. Note saving draft and previewing will give better results.


8th – It’s Done…


Do we require any WordPress Plugin?



No, you do not and must not add or install any WP Plugin related to Hindi Fonts or Translation, rather than, you can copy and paste directly online content from some other Site like:


QuillPad.in where you are required to go and type in English only and it gives content in Hindi and Many Other Languages.


Eg. “Kya Haal Hai” will become “क्या हाल है


Facing any other problems or issues (please share below)


Or Else


Enjoy Typing in Hindi with your WordPress Blog or Site


Warnings:


This is a procedure searched from Internet and thus, is working for and many others. But no guarantee from us that it will work for you too, so try it and do keep side by side a Back-up files before you make changes in anything, well, another thing is it won’t affect your normal blog as external file are treated which can be reversed easily.


Many people faces problem with the fonts they use when they copy from their documents therefore we Recommend use online conversion not only because it makes it easier but also because it uses online characters (scripts) that won’t be changing (hopefully) while using in your own Site or Blog.


Tips:


Do you Online Services to create Hindi matter from the above link provided or QuillPad.in


Try keeping the original content of your WP_Config.php and Header.php, a notepad file will work fine.



@ Read Full Post


Posted by: Himanshu Goel

0 comments:

Post a Comment