Thursday, July 13

Best simplest way to declare your Blogger (Blogspot) Preffered Language.

This writeup will be focused on how to declare your prefered language on your blog using Blogger platform. 

This because it's very important for a blogger user to declare the Language with which Google Search Engine will identified is blog with for a better search engine Optimization and it will help search engine bots to identify your Language without digging deeper for your langauge detection. 

This important because it will speed up the time in which Googlebots crawls your blog. 

It's of great important to declare your prefered Language when you are using an International site or if you wish to use your blog in other langauges.

Unlike Wordpress which is also a blogging platform has built in langauge declaration tool which is automatically inserted into it but Blogger you have to go to the edit HTML of your blog template to declare the langauge you prefer by adding some codes. 

Which is why am writing this article. Moving on. 

How to declare your blogger Language

How to declare blog Langauge on Blogger
        (1)   Go to your blog’s dashboard.
        (2)   Go to ‘Template’ and then ‘edit HTML’.
        (3)   Now find the below code.
        (4)   Now add the below code just next to <html.

lang="en-US" xml:lang="en-US"
        (5)   Sample view of your template after adding the above code.

<html lang="en-US" xml:lang="en-US" b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='' xmlns:b='' xmlns:data='' xmlns:expr=''>
        (6)   Save your template and it’s done.

NOTE- In this article toturial l have used English langauge as an example in the illustrations above “English-US” if you blog in some other language, just replace “en-US” with your Country code. You can visit this site for other language declaration codes. ISO 639-1 Language Code List for different ISO language codes.



Use the comment box to air your view on this post or any other issue at all. But dn't spam by adding links unless it's neccessary.