Support » Plugin: WordPress Translation Plugin – Weglot Translate » Issues with WooCommerce Shipping and Billing Address

  • Resolved princematli

    (@princematli)


    Dear developer.

    We have installed Weglot and generally it works okay. But …..

    However, there are issues with WooCommerce and the data customers enter in their billing and shipping information. They are being translated for each order into the target language. For example, a customer is from the US, but of Chinese origin, so she/he will read the Chinese website version. But now, during checkout, the customer will enter the english address of course. Once the order is made, the confirmation email has the billing and shipping address hilariously translated into Chinese (pretty muc wrong). This has caused much confusion to our customers.

    How can the shipping and billing address be excluded from translation for the default WooCommerce checkout page and perhaps the account section.

    There should be an option to exclude all input fields or it’s data stored from all translation. Could you point me to fix for this issue.

    Thanks,
    Chris.

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor Julien MA Jacob

    (@wpr0ck)

    Hello @princematli,

    Thanks for your message.
    Normally, addresses must be contained in “<address>” HTML tags. These tags are excluded by default in the plugin Weglot. I think you may use a custom template for wooccommerce emails? Can you confirm?

    If you use custom templates for Woocommerce emails and you are able to modify the code:
    – You can use an “<address>” HTML tag or add the attribute data-wg-notranslate=”manual” to the HTML tag you use for the address element.

    If you use custom templates for Woocommerce emails, and you are not able to modify the code:
    – you can add a CSS selector to exclude this block in the plugin options (WordPress admin > Weglot > Exclude Block section)

    I hope these information will help you to implement the solution.
    If you need further help, please send me the HTML code of the concerned emails.
    Let me know if you need any further information.
    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Issues with WooCommerce Shipping and Billing Address’ is closed to new replies.