Pular para o conteúdo Pular para a 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.

Deixe uma resposta

Por favor mantenha-se no assunto e seja respeitoso com os outros. Se precisar de ajuda com problemas não relacionados a este post, use nosso Fórum de Suporte para iniciar um chat ou enviar um ticket.

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