It’s vital to declare the language you use in your website blog posts and that is declared by several ISO language code tags written in HTML that know the language you use in writing posts so that your traffic can be from the right source of related language people. To declare the language in HTML we use a two-letter language code or three letters. Some websites go to the extent of using an XML language tag.

Website crawlers from search engines use language tags to determine the language used in the writing of the posts. If you have used the language tags declaring English language from the USA then the English used in the post should not have a British English version and thus any British English words are considered spelling mistakes.

How To Use Href  Language Tags In A Website

A website uses the abbreviation of the language tags from the full name of the language and the origin. In the meta HTML tags of the href language declaration, the language used is written as attached below.

<html lang=”en”>
</html>

Then when using XML to refer to the declaration of the language tag than it’s assigned as below.

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

The Short Codes are derived from language and that’s what we declare as ISO value and the country language. When your website has errors in language declaration, the iso language value is not declared for the page showing errors. To know whether your website has language errors, the Google search console will inform you that you have not specified your language in the code. The country language code ISO is derived as follows.

Language ISO Code HTML Tags

  1. Abkhazian     ab
  2. Afar     aa
  3. Afrikaans     af
  4. Akan     ak
  5. Albanian     sq
  6. Amharic     am
  7. Arabic     ar
  8. Aragonese     an
  9. Armenian     hy
  10. Assamese     as
  11. Avaric     av
  12. Avestan     ae
  13. Aymara     ay
  14. Azerbaijani     az
  15. Bambara     bm
  16. Bashkir     ba
  17. Basque     EU
  18. Belarusian     be
  19. Bengali (Bangla)     bn
  20. Bihari     bh
  21. Bislama     bi
  22. Bosnian     bs
  23. Breton     br
  24. Bulgarian     bg
  25. Burmese     my
  26. Catalan     ca
  27. Chamorro     ch
  28. Chechen     ce
  29. Chichewa, Chewa, Nyanja     ny
  30. Chinese     zh
  31. Chinese (Simplified)     zh-Hans
  32. Chinese (Traditional)     zh-Hant
  33. Chuvash     cv
  34. Cornish     kw
  35. Corsican     co
  36. Cree     cr
  37. Croatian     hr
  38. Czech     cs
  39. Danish     da
  40. Divehi, Dhivehi, Maldivian     dv
  41. Dutch     nl
  42. Dzongkha     dz
  43. English     en
  44. Esperanto     eo
  45. Estonian     et
  46. Ewe     ee
  47. Faroese     fo
  48. Fijian     fj
  49. Finnish     fi
  50. French     fr
  51. Fula, Fulah, Pulaar, Pular     ff
  52. Galician     gl
  53. Gaelic (Scottish)     gd
  54. Gaelic (Manx)     gv
  55. Georgian     ka
  56. German     de
  57. Greek     el
  58. Greenlandic     kb
  59. Guarani     gn
  60. Gujarati     gu
  61. Haitian Creole     ht
  62. Hausa     ha
  63. Hebrew     he
  64. Herero     hz
  65. Hindi     hi
  66. Hiri Motu     ho
  67. Hungarian     hu
  68. Icelandic     is
  69. Ido     io
  70. Igbo     ig
  71. Indonesian     id, in
  72. Interlingua     ia
  73. Interlingue     ie
  74. Inuktitut     iu
  75. Inupiak     ik
  76. Irish     ga
  77. Italian     it
  78. Japanese     ja
  79. Javanese     jv
  80. Kalaallisut, Greenlandic     kl
  81. Kannada     kn
  82. Kanuri     kr
  83. Kashmiri     ks
  84. Kazakh     kk
  85. Khmer     km
  86. Kikuyu     ki
  87. Kinyarwanda (Rwanda)     rw
  88. Kirundi     rn
  89. Kyrgyz     ky
  90. Komi     kv
  91. Kongo     kg
  92. Korean     ko
  93. Kurdish     ku
  94. Kwanyama     kj
  95. Lao     lo
  96. Latin     la
  97. Latvian (Lettish)     lv
  98. Limburgish ( Limburger)     li
  99. Lingala     ln
  100. Lithuanian     lt

How To Declare Language Tags In WordPress

To add meta tags in your blogger website to declare specific language iso HTML tag you will have to add the bellow hreflang tags to your blogger blog code value.

<link rel=”alternate” href=”http://example.com” hreflang=”en” />

For WordPress websites, it depends on the making of the theme template and if you are the developer it’s vital to use the language in the HTML value at the start of the website code. If you already have a created website and your ad the installation into a self-hosted WordPress website then you have to change language values in settings. Customization of the language values in Blogger is easy.
Check the example below.

WordPress makes it easy to set up the language ISO Code Tags HTML Reference because the implementation is a one-way setting in the admin’s settings and user language profile settings. That automatically sets the language in the code template of your WordPress website. In case you would like to specify more then you have to take a look at the href tags ISO above to choose your preferred one. That’s all with ISO Language Code Tags HTML Reference, if you have any questions, don’t hesitate to ask in the comments or also contact me for more details.

Kenyan commercial photographer and digital artist whose work focuses on themes of portraiture in African culture & modern Fashion

Leave A Reply

Optimize your websites today!

Don`t miss out. Try 55+ Tools for free

Exit mobile version