Zum Inhalt springen Zur Seitenleiste springen

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.

Hinterlasse eine Antwort

Bitte bleibe beim Thema und sei respektvoll zu anderen. Wenn du Hilfe bei Problemen benötigst, die nicht mit diesem Beitrag zusammenhängen, nutze unser Support-Forum, um einen Chat zu starten oder ein Ticket einzureichen.

Du kannst diese Tags verwenden:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>