Vai al contenuto Vai alla barra laterale

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.

Lascia una risposta

Per favore rimani in tema e sii rispettoso verso gli altri. Se hai bisogno di aiuto con problemi non relativi a questo post, usa il nostro Forum di Supporto per iniziare una chat o inviare un ticket.

Puoi usare questi tag:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>