Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @lourencolemos,

    Searching the codebase of WooCommerce the text string below from the checkout page is fully translatable within the plugin.

    https://github.com/woocommerce/woocommerce/blob/e1aaa6c63c02bd6197d4b40fce317cf8d424d36b/includes/wc-template-functions.php#L813

    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

    Image Link: https://cloudup.com/cx9rYO8xRqB

    When translatiing text within a WordPress plugin or theme we suggest using a free translation plugin like Loco Translate.

    I’d suggest double-checking your translations which you’ve carried out and searching for any multiples of the text using Loco Translate.

    My understanding is that get_option() will only use its second parameter to get the value if the option does not exist in the database. So if for some reason the default is not translated at the initiation of WooCommerce, then changing the translation later won’t help, since the default won’t subsequently be translated by __().

    The string is an option and can be changed at:
    WooCommerce > Settings > Accounts & Privacy tab > Privacy Policy section.

    Luminus Alabi a11n

    (@luminus)

    Automattic Happiness Engineer

    Hi @lourencolemos,

    As @lorro mentioned, you need to type the correct text into the space provided for it in WooCommerce → Settings → Accounts & Privacy as shown in this screenshot:

    Full Size: https://d.pr/i/nMG1wg

    Because it is an option that can be edited by the user, it isn’t something that will be translated by Loco Translate.

    I’ll go ahead and mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sections of Woocommerce not translating like they should’ is closed to new replies.