Support » Plugin: WooCommerce Square » how to translate the error messages

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hannah S.L. a11n

    (@fernashes)

    Automattic Happiness Engineer

    Hey there @taak7!

    In general, you can translate plugins by using a plugin such as Loco Translate – here’s how you’d get started:
    https://docs.woocommerce.com/document/woocommerce-localization/#section-6

    However, we haven’t set these specific strings to be localized just yet. It’s already registered as an enhancement on our Github repository. We’ve already had a look and I’m not sure we’ll be able to solve this easily: Square doesn’t seem to offer us a way to translate these messages.

    The best thing to do is to keep an eye on the plugin’s changelog to see if we do manage to make this happen. You can see the changelog on wp-admin > Plugins, as well as here:
    https://wordpress.org/plugins/woocommerce-square/#developers

    —–

    Github link for a11ns: https://github.com/woocommerce/woocommerce-square/issues/369

    Thread Starter taak7

    (@taak7)

    Hi @fernashes.

    Thank you for your response.
    I’ll try to find the other way.

    By the way, I can’t see Github link.
    It’s not found page…

    Plugin Support Hannah S.L. a11n

    (@fernashes)

    Automattic Happiness Engineer

    You won’t be able to see the Github link as it’s on a closed repository – I left it in case others who do have access need to find it.

    Good luck further!

    Bonjour takk7,

    Il semble que vous soyez parvenu à contourner le problème et à traduire les messages d’erreurs “Credit card number is not valid”, “CVV is not valid”, “Expiration date is not valid”, “Postal code is not valid” ainsi que le noms de champs à completer “Card Number”, “Expiration (MM/YY)”, “Card Security Code”, “Postal Code” et finalement le bouton “Place order”.

    Pour le bénéfice de la communauté, êtes-vous en mesure de nous expliquer la façon de procéder?

    Merci à l’avance au nom de tous ceux à qui ça pourra servir 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to translate the error messages’ is closed to new replies.