• Resolved xesuspaniagua

    (@xesuspaniagua)


    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?

Viewing 1 replies (of 1 total)
  • Plugin Support fritsiub

    (@fritsiub)

    Hi Xesuspaniagua,

    Thank you for your message.

    The way Complianz works is that it generates your banner and legal documents in the language that is set in your general WordPress account settings. Subsequently, we have no feature that translates or switches languages based on the location of your visitors, but this could be done with another plugin like WPML and PolyLang. Here you can find various guides on how to translate your Complianz legal documents: https://complianz.io/?s=translate

    So, either you use a third party plugin to create a second set of legal documents in the desired language, or you change the WordPress settings and thus Complianz will generate one set of legal documents in the required language.

    Please keep in mind that documents generated for the US and UK will always remain in English as that is their target audience.

Viewing 1 replies (of 1 total)
  • The topic ‘Short-code document translation depending on html lang’ is closed to new replies.