If you are planning to write a blog in Devanagari Font i.e in Nepali Language or Hindi Language and you choose wordpress for blogging then this post is useful for helping you. As we know English is widely used and recognizable language, we can get most of the things on English and most of the websites in English. If you are planning to make a Nepali Blog (with posts with Nepali Fonts) or Hindi Blog then when you write a post on a WordPress blog you can see ?????? instead of your Nepali Text. And this is really bad for the bloggers, i also faced the same problem and start searching for the solution.
I found some plugins for converting comments into Devanagari script but was not able to find out any thing for make posts writable in Devanagari Font for wordpress blog. Well there is a tip in which we need to change some script inside our wp-config.php which makes us to write posts in Devanagari fonts ( Nepali or Hindi ) which i am going to share here in this post. Lets begin :-
Enter inside your wp-config.php file which is located in your file manager.
Look for these
-
define('DB_CHARSET', 'utf8');
-
define('DB_COLLATE', '');
Now change add '//' in-front of define i.e. they looks like
-
//define('DB_CHARSET', 'utf8');
-
//define('DB_COLLATE', '');
Now Save it.
That's it now enjoy blogging in Nepali WordPress Blog or Hindi WordPress Blog.
dis really helped. thanks a lot
Thanks a lot mate, I was looking to make the title of my WordPress Blog on Government Jobs in Hindi, I tried it using the Indic IME Plugin for wordpress but to no avail… the Hindi letters in the title kept coming as ?????…
But after this miniature edit my blog’s title is in Hindi, you can have a look at my blog.
Thanks for this elegant solution 🙂
@Robin you may be missing the font that the document used. You can try downloading fonts from http://www.devanagarifonts.net and open in the fonts.
I had somebody translate a document in nepali for me on microsoft word and when I copy and paste it to the word icon on my post it shows the Nepali script but the wording is all scrambled.
Do you have any suggestions for this.
Thanks,
Rob
Thanks for your tips you saved my time. am wondering if you have the same tips for joomla
For the joomla you can use the plugin if you want to type like in http://sidcnepal.org.np or you have to change the database collation to utf8-general-ci.