Adding html language code to page headers
Aug 13, 2015 4:40 pm by mjbradley85
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
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: https://gtranslate.io/docs/58-gtranslat ... umentation
Thanks!
SIMILAR TOPICS
GT doesn't work...error 404 page | Jan 28, 2019 5:36 pm | Replies: 1 | Post by: vincenzodinuzzo |
Large numbers of crawl errors with double language code | Jan 24, 2019 1:43 am | Replies: 1 | Post by: natastna2 |
Translate website to any specific language, on page load | Jan 19, 2019 6:49 am | Replies: 1 | Post by: Leaon7756 |
Best way to translate a page in WordPress? | Jan 7, 2019 11:10 am | Replies: 3 | Post by: Tonnystark |
Graphic translation for every language is missing | Dec 19, 2018 7:54 am | Replies: 1 | Post by: Daryl Dixon |