Forum Archive - Adding html language code to page headers

Adding html language code to page headers
Aug 13, 2015 4:40 pm by mjbradley85
Hi, Google prefers that any foreign language pages are properly tagged with an html language code. Is there some way to automatically or manually add html language codes into the header of translated pages? For instance, any Spanish pages should be tagged with lang="es" Instead, all translated pages are coded for English by default lang="en-US" Is there a way to edit or add an html language code using the PRO version?
Re: Adding html language code to page headers
Aug 16, 2015 11:15 am by Edvard
Hi, If you are writing about <html lang="fr-FR" ...> tag then it is being changed by GTranslate Enterprise and you do not need to do anything about it. If you are writing about something else, then it is possible to detect the current selected language from your application and based on that change anything. You may check GTranslate Enterprise documentation for more info: ... umentation Thanks!


GT doesn't work...error 404 pageJan 28, 2019 5:36 pmReplies: 1Post by: vincenzodinuzzo
Large numbers of crawl errors with double language codeJan 24, 2019 1:43 amReplies: 1Post by: natastna2
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
Best way to translate a page in WordPress?Jan 7, 2019 11:10 amReplies: 3Post by: Tonnystark
Graphic translation for every language is missingDec 19, 2018 7:54 amReplies: 1Post by: Daryl Dixon

Try GTranslate with a free 15 day trial