Short-code document translation depending on html lang
-
Hello,
I was wandering if the translation of the content created with the short-code document depends on the atribute lang of the html tag of the page or the main language of WordPress.
I have a webpage in a no very common language (Galician), and by default the Cookie Policy document is in English. Since I don’t want to create another language and I don’t mind for the document to be in Spanish, I have changed the html tag lang attribute of the Cookie Policy page that contains the shortcode.
Now the html tag is <html lang=”es-ES”> but the content is still in English.
Are there any way in the sortcode type lang=”es” that can change the language?
- The topic ‘Short-code document translation depending on html lang’ is closed to new replies.