Saltar al contenido Saltar a la barra lateral

Waiting for author

Topic Tags: Compatibility

Overview of the issue

When using Complianz Premium with WPML, you might notice that certain dynamic content in the Privacy and Cookie Policy pages—such as retention periods and contact information—does not appear in the WPML String Translation interface. As a result, these values remain untranslated on the frontend.

Workaround

Please make sure you have a full backup of your site before proceeding.

  • In WPML → Settings → Custom XML Configuration, add the following configuration:
  • <wpml-config>
      <admin-texts>
        <key name="cmplz_options">
          <key name="organisation_name" />
          <key name="address_company" />
          <key name="country_company" />
          <key name="email_company" />
          <key name="telephone_company" />
          <key name="ca_name_accountable_person" />
          <key name="ca_address_accountable_person" />
          <key name="contact_retain_wmy" />
          <key name="statistics_retain_wmy" />
        </key>
      </admin-texts>
    </wpml-config>
    
            
  • Go to WPML → String Translation and select the domain admin_texts_cmplz_options.
  • Translate the listed strings.
  • Check the frontend Privacy and Cookie Policy pages to confirm translations are displayed correctly.

Dejar una respuesta

Por favor, mantente en el tema y sé respetuoso con los demás. Si necesitas ayuda con problemas no relacionados con esta publicación, utiliza nuestro Foro de Soporte para iniciar un chat o enviar un ticket.

Puedes usar estas etiquetas:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>