Plugin Support
Ross V. a11n
(@rossviviano)
Automattic Happiness Engineer
Hi there,
I just tested this on my site, and can actually translate those error messages using a plugin called Loco Translate – https://wordpress.org/plugins/loco-translate/
Best,
Ross
Thank you for your reply.
I actually tried using “Loco Translate”.
However, I did not find the text I wanted to translate.
Isn’t the original text I want to translate from Stripe?
Plugin Support
Ross V. a11n
(@rossviviano)
Automattic Happiness Engineer
Hi again, @watanabekeisuke
However, I did not find the text I wanted to translate.Isn’t the original text I want to translate from Stripe?
It is – it can be found by searching “expired” in the Stripe gateway
– https://d.pr/i/b9dw4C
Once I saved, I was able to see the translation applied at checkout – https://d.pr/i/A70JSW
Best,
Ross
Thank you for your reply.
I did the translation work according to the instructions I received, but I couldn’t.
The difference from the image shown is “The” is “Your”.
I want to translate this sentence displayed on the payment screen.
“Your card has expired.”
It will be displayed in the same part as the second screenshot shown.
When I checked the text displayed on the payment page, it was found in the Stripe log.
Is this message displayed?
Is this translatable?
====Start Log====
Error: stdClass Object
(
[error] => stdClass Object
(
[code] => expired_card
[doc_url] => https://stripe.com/docs/error-codes/expired-card
[message] => Your card has expired.
[param] => exp_month
[type] => card_error
)
)
====End Log====
Do you understand what I want in the above description?
Can you give advice?
Plugin Support
Ross V. a11n
(@rossviviano)
Automattic Happiness Engineer
Hi again,
Let’s take a step back here.
Are you trying to translate the error message shown at checkout (as shown https://d.pr/i/A70JSW ), or are you trying to translate Stripe’s error logs which can be viewed from WooCommerce–> Status–> logs?
I’m trying to translate the error message that appears on checkout.
I am currently testing in test mode.
I want to translate English into Japanese.
The sentence you actually translated is “The card has expired.”
However, on my site, “Your card has expired.” Is displayed in the same part.
I tried using “Loco Translate”, but “The card has expired.” Was already translated.
However, “Your card has expied.” Was not found.
Thank you.
Plugin Support
Ross V. a11n
(@rossviviano)
Automattic Happiness Engineer
Hi again,
Can you post a link to your site so I can take a look?
Ross
I do not want to publish site links.
I want to share it only with you by email.
Is it possible?
Missy a11n
(@m155y5)
Automattic Happiness Engineer
@watanabekeisuke –
Yes, if you’d like to go ahead and open up a support ticket with us, you can include your screenshot there. Also, please be sure to include your System Status Report. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it into your reply here.
https://woocommerce.com/my-account/create-a-ticket/
Missy a11n
(@m155y5)
Automattic Happiness Engineer
We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.