Hi there,
These fields should be translatable as with any other strings in the plugin. I’d recommend a plugin such as Loco translate for this.
Feel free to get back to us in case you have any additional questions!
Sure, I know that. But there is no such a source text in latest version.
Also, I can not find it using POedit.
Please check it again.
Thanks.
Hello @tomsi
Thanks for your message!
WooCommerce includes a language file (.pot file) that contains all of the English text. You can find this language file inside the plugin folder in woocommerce/i18n/languages/
The complete set of instructions after you have downloaded and installed Loco Translate can be found here: Translating WooCommerce into your language
If you are using Poedit:
1. Open PoEdit and go to File > New catalog from POT file.
2. Choose woocommerce.pot and PoEdit will show the catalog properties window
3. Enter your name and details, so other translators know who you are, and click ‘OK.
4. Save your .po file. Name it based on what you are translating to, i.e., a GB translation is saved as woocommerce-en_GB.po
5. `Save after translating strings. The .mo file is generated automatically.
6. Update your .po file by opening it and then go to Catalog > Update from POT file.
7. Choose the file and it will be updated accordingly.`
You can also refer to the following external conversation on updating the translation:
* How to manually install translations files on WooCommerce
Hi
These strings appear as translated in woocommerce language file (slovenian), but they do not load on front end. I checked with several shops and themes and it’s always the same (in english).
-
This reply was modified 4 years, 8 months ago by
spletster.
Hi there!
Sorry about that, these strings should get translated automatically and our team missed that initially.
It means that you are correct and these strings wouldn’t show up on the plugin translation files.
In general, these are translated directly from Stripe and detected based on your browser language.
You should be able to see all the languages supported by Stripe on our documentation: https://docs.woocommerce.com/document/stripe/#how-can-i-translate-the-placeholders-text-inside-the-credit-card-form
We also offer a custom code on the documentation that allows you to “force” a specific locale if you don’t want to trigger the browser language automatically.
Feel free to get back to us anytime if you need further help.
cc: @thup90 @nathvi