Important

You are browsing the documentation for version 1.6 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Available in OroCommerce

Localize Consents

To translate the consent labels and content from English into the required language, make sure to take the following steps:

  1. Create a necessary localization under System > Localization > Localizations.

  2. Add the required localization to the list of enabled localizations under System > Configuration > System Configuration > General Setup > Localization. It enables customers to select a desired language of the website content in the storefront.

    Add the necessary localizations to the list of enabled localizations
  3. Enable consents on the global and website levels.

  4. Select a consent that needs to be localized under System > Consent Management and provide a translation of the consent name following the guidance in the Translations and Localizations section.

    Provide a translation of the consent name
  5. Create a consent landing page with the title and description of the consent in the target language (e.g., German, French, etc) and add the landing page to the existing content tree node that requires translation.

    A sample of the consent landing page with the title and text of the consent in German

Note

Keep in mind that for each localization you need to create a new landing page in the corresponding language.

  1. Set the visibility restriction of the consent landing page to a certain localization. This defines which consent variant to display to the customer based on the language they select in the storefront.

    Steps that need to be performed to add consent landing pages to a content node

The changes in the storefront are applied immediately once the settings are saved.

  1. Check the consent translation in the storefront by selecting the desired localization.

    View the consent translated to German when the German localization is selected
  2. Click the consent link to open the consent landing page.

    A sample of the consent landing page translated to German