• ResolvedPlugin Support Thu P. a11n

    (@thup90)


    The strings “Your personal data will be used to process your order, support your experience throughout this website, and for other purposes described in our…” and “Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our…” would not translate in Loco Translate or WPML after the translations have been provided. Please help!

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 23 total)
  • dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi there @thup90

    Can you let me know how you are translating your site? Is this a language pack from GlotPress or another method?

    Thanks,

    I have almost the same problem.
    I m using the germanized plugin, which translated almost all other stuff, except this part

    Hi, I would like to translate this same sentence. How can I achieve this?

    Same problem here. Using WPML and those two sentences that @thup90 mentioned are not translatable.

    Plugin Support RK a11n

    (@riaanknoetze)

    would not translate in Loco Translate

    Just to make sure – are you saying that your translation isn’t working or that those strings are not showing up in https://www.ads-software.com/plugins/loco-translate/?

    for me, I cannot find the strings in loco-translate.

    Hi,

    On my side (for French translation), what is strange is that I can see the translated sentences in the .po file, which is same as the one called in #: includes/wc-template-functions.php:756

    but it is still in english on checkout page (using Avada, but no string like that is overwritten by avada)

    Any idea?

    Thx

    #. translators: %s privacy policy page name and link
    #: includes/admin/settings/class-wc-settings-accounts.php:150
    #: includes/customizer/class-wc-shop-customizer.php:736
    #: includes/wc-template-functions.php:756
    msgid “Your personal data will be used to process your order, support your experience throughout this website, and for other purposes described in our %s.”
    msgstr “Vos données personnelles seront utilisées pour le traitement de votre commande, vous accompagner au cours de votre visite du site web, et pour d’autres raisons décrites dans notre %s.”

    #. translators: %s privacy policy page name and link
    #: includes/admin/settings/class-wc-settings-accounts.php:140
    #: includes/wc-template-functions.php:760
    msgid "Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our %s."
    msgstr "Vos données personnelles seront utilisées pour vous accompagner au cours de votre visite du site web, gérer l’accès à votre compte, et pour d’autres raisons décrites dans notre %s."
            switch ( $type ) {
                    case 'checkout':
                            /* translators: %s privacy policy page name and link */
                            $text = get_option( 'woocommerce_checkout_privacy_policy_text', sprintf( __( 'Your personal data will be used to process your order, support your experience throughout this website, and for other purposes described in our %s.', 'woocommerce' ), '[privacy_policy]' ) );
                            break;
                    case 'registration':
                            /* translators: %s privacy policy page name and link */
                            $text = get_option( 'woocommerce_registration_privacy_policy_text', sprintf( __( 'Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our %s.', 'woocommerce' ), '[privacy_policy]' ) );
                            break;
            }

    well… Found it in personalisation of the theme > woocommerce tab > checkout tab
    Changing it there works for me

    @soisita
    in which (po) file did you find the translation

    Hi,
    It was in woocommerce-fr_FR.po

    But as I said, the translation from the .po / .mo didn’t work for me…
    However, the sentence came from theme personalisation, on WooCommerce / Checkout tab

    Just Go to – > Woocommerce Settings -> Account & Privacy Tab

    And here is string: Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our [privacy_policy]

    You can translate as you want.

    Hi & thanks.

    What I found out is, that this seems to be a problem/bug? in the GEMANIZED-Plugin.
    If I deactivate the GEMANIZED-Plugin, I can edit the text as @chemistrap1 wrote.

    Hope that helps!

    as @chemistrap1 says, default Woocommerce “GDPR” text is in Woocommerce Settings -> Account & Privacy tab.

    when using WPML (3.9.4), you’d better scan the plugin for strings in WPML -> Theme and plugins localization – a popup appears counting the plugins string.

    mine timed out at 2576, had to reopen it after a minute to find 5218 strings in total in WC (3.4.1). i suggest you edit WC default text as it suits you first, then run the scanning of WC’s strings.

    clicking on the number of found strings opens up the filtered results in WPML -> String Translation. you can then search for “Your personal data …” text and add your translations.

    alternatively there’s the option to create a .po file.

    • This reply was modified 6 years, 5 months ago by maxgx.
    Plugin Support Ryan Ray, a11n

    (@ryanr14)

    It looks like we’ve all figured out each specific issue we’ve ran into translating these new strings.

    One was caused by a plugin conflict, another from theme settings, etc… but @thup90 have you figured out why you couldn’t get these strings translated? For example, looking at maxgx’s last comment does that help translate these strings if you scan the site again via WPML?

    sorry @ryanr14 but i have to update my report: despite being now able to translate those strings in WPML, something is stopping the translations to appear. maybe it’s a cache issue, but other contents are updating, so i’m not so sure it’s that.

    i’ve just downloaded the latest language pack from the link suggested by @dougaitken, uploaded the files in wp-content/languages/woocommerce/ as described in you doc but translations are still not showing up.

    this morning i’ve also updated Woocommerce to its latest 3.4.2 version, but i still don’t see the usual “Translations updates available” button which appears in WP Updates page.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘New strings “Your Your personal data will be used…” don’t translate’ is closed to new replies.