• Resolved Syl

    (@alexsylvester)


    Hello SureCart team

    Issue:
    Some strings are not translatable

    ###

    Steps taken:

    • Added translation files with the method no. 2: https://surecart.com/docs/translating-surecart/
    • Set both site language and store language to the preferred target language.
    • Verified file names follow the correct format, including the plugin text domain and language code, and placed them in /wp-content/languages/plugins/ directory.
    • Also tried placing the translation files in /wp-content/languages/ (as it states in the docs, but I think ../plugins/ is the correct one).
    • Deleted empty translation files from the plugin’s /surecart/languages/ folder to prevent them from overriding correct translations.
    • Double-checked the availability of the strings, to make sure it’s all translated.
    • There is no caching on the website.
    • Noted that some other translations are working correctly as expected, so the files are loaded correctly after all.

    Strings examples:
    Remove, Tax VAT, Add Coupon Code, Card number, Expiration date, Security code, Country
    I’m aware that some of them exist in the .pot template file, yet translating them doesn’t work as expected.

    ###

    Request:
    Please review whether these untranslated strings are properly registered for translation. Kindly advise on how to proceed to resolve this issue.

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Syl

    (@alexsylvester)

    Update:

    I discovered that some strings can be translated using WordPress patterns in my case, and apparently some of them were overriding the actual translation made in my .pot file. I focused on translating the checkout for customers, but not the administration part. Still, I am unable to translate some strings e.g: Remove, Tax VAT, and the field names for the payment.

    Plugin Support Ivan C.

    (@ivanbsf)

    Hello @alexsylvester

    Thank you for reaching out!

    SureCart can be translate mostly with Loco Translate –   https://surecart.com/docs/translating-surecart.

    Some of the strings from the Checkout form you can translate them directly from there.

    To edit and translate the Total, or summary and other strings from SureCart, navigate to SureCart > Checkout. For guidance, you can check this video recording and screenshot:

    Some of the strings from the Customer Dashboard can be translated directly from the SureCart > Customer Area, you can refer to this screenshot –   https://app.screencast.com/leVBORBgm9LPs.  

    Some of the strings from the Product can be translated directly from the product page template, you can refer to this video recording – https://d.pr/v/qOr81Z

    Regarding Loco Translate –   https://surecart.com/docs/translating-surecart/.  

    First, ensure that your WordPress language is set to your preferred language.  

    Next, in Loco Translate, make sure to click on Sync to synch all the strings, you can refer to this screenshot –  https://app.screencast.com/pJyU7lCMhZHFd.

    Locate the correct string. Once you find it, change it and make sure to click “Save” first, then “Sync.”

    After completing these steps, you can verify the changes.

    If you encounter any difficulties, feel free to reach out to us here: https://surecart.com/contact-us/. We’ll be delighted to assist you!

    Best,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Some strings are not translatable’ is closed to new replies.