• Resolved Tomsi

    (@tomsi)


    Hi

    Where to translate front end threads (latest plugin version) for card entry, such as Card number, Expiry date, Security code (CVC)?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Thu P. a11n

    (@thup90)

    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!

    Thread Starter Tomsi

    (@tomsi)

    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.

    Plugin Support nathvi V. a11n

    (@nathvi)

    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

    Thread Starter Tomsi

    (@tomsi)

    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 3 years, 1 month ago by Tomsi.

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Front end transtation’ is closed to new replies.