• Resolved giacomo1

    (@giacomo1)


    The German translation for the account endpoint “Addresses” is wrong. It should be “Adressen”, but it is “Address”.

    How can I fix this?

    Thanks ??

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Line 102 in wc-account-functions.php refers.

    Whether WooCommerce uses “Addresses” or “Address” depends on the value of wc_shipping_enabled(). I think that determines whether the customer has entered a shipping adress yet. If not, there can be only one address – this will be the billing address, so singular will apply. If there is a shipping address, there will be two addresses and the plural will apply.

    Thread Starter giacomo1

    (@giacomo1)

    Hey,
    thank you! But the problem isn’t really about singular vs plural but rather that it isn’t translated into German.

    Adding this to the functions.php solved it though: https://gist.github.com/MrThiemann/91898ba6a884b884f03ca0e8824c8f75
    (line 8 needs to be replaced with the comment)

    • This reply was modified 4 years, 7 months ago by giacomo1.
    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Great that you solved it, thanks for letting us know!

    I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wrong translation’ is closed to new replies.