Home Forums WoodMart support forum change "sold out" label

change "sold out" label

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #263557

    arminovic
    Participant

    Hi all,

    wanted to ask how I can change the text of the “sold out” label, which has been implemented through woocommerce I think. The label is being displayed on product page and shop page (out of stock).

    Can’t find the path where I can replace the text.

    Thank you so much in advance.

    Attachments:
    You must be logged in to view attached files.
    #263599

    Hello,

    You can translate/rewrite all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3

    Please check the video tutorial to see how to save the translation file correctly. You can remove the plugin and translations would remain. Also, translations would remain after each theme update.

    Best Regards

    #518416

    postbox-007
    Participant

    Hello.

    I did it exactly as described here and shown in the video. But unfortunately the text does not change.

    I have deleted the cache in the browser and the cache in WordPress (via WP-Rocket). What could be the reason?

    #518564

    Luke Nielsen
    Keymaster

    Hello,

    Please send me access to the admin dashboard so I can investigate the issue on your side.

    Thank you in advance.

    Kind Regards

    #518703

    postbox-007
    Participant

    ->

    #518805

    postbox-007
    Participant

    Sorry. I forgot the Link:

    #518969

    Luke Nielsen
    Keymaster

    Hello,

    You cannot use 2 translation plugins at the same time, so please disable the Polylang plugin, clear the cache and recheck the “Sold out” label.

    https://take.ms/kqcx0

    Kind Regards

    #519069

    postbox-007
    Participant

    Ah, ok.

    But with Polylang I will translate my whole site later. (pages, products etc …)

    I can’t do that with Loco, can I?

    Or asked the other way around. Is it possible to do all this with PolyLang?

    #519082

    Luke Nielsen
    Keymaster

    Hello,

    It should be possible via Polylang as well, so try to translate it via Polylang using the below documentation:

    https://polylang.pro/doc/strings-translation/

    https://polylang.pro/doc/translating-woocommerce-urls-and-strings/

    Don’t hesitate to let me know if you need any further help or any other info.

    Kind Regards

    #519199

    postbox-007
    Participant

    Thank you. But it looks like it won’t work. I can translate the content (e.g. notification texts, e-mail templates, etc …). But I can’t translate something like the “Sold” label or other integrative things with Polylang.

    Is it possible to get to the “Sold” in a different way and enter a different word? Perhaps in the files via the theme editor?

    #519719

    Luke Nielsen
    Keymaster

    Hello,

    Could you please update the access to the admin dashboard: https://take.ms/vWUD9 . So I will look closer at it.

    Thank you for your time.

    Kind Regards

    #519728

    postbox-007
    Participant

    Oh, sorry. Here is Access:

    #520137

    postbox-007
    Participant

    Hello.

    Is this topic still being maintained or should I open a new one? I am asking because of the specially created secondary access.

    #520476

    Luke Nielsen
    Keymaster

    Hello,

    Sorry, I just checked on my side on how to adjust it. Sorry for the mistake, Polylang works well with the Loco Translate.

    1. So first of all, you need to make a translation of the product for both languages: https://take.ms/5AN5w , then navigate to Loco Translate -> Themes -> WoodMart and create both languages there: https://take.ms/BI8uV.

    2. Translate the “Sold Out” label for each language: https://take.ms/2w4QZ , https://take.ms/dstfW

    3. As a result, each language will have a different title for the label: https://take.ms/pkUna

    Let me know if you have any questions.

    Kind Regards

    #520597

    postbox-007
    Participant

    Hello.

    Unfortunately I can’t make it. I have now also bought the WPML to translate the rest of my website.

    Do I still need the Loco, can I also do the renames completely with WPML?

    I have done the steps like the screenshots above. However, it still shows “Sold Out” on the image label instead of “Verkauft”. Cache is cleared after the translation.

    • This reply was modified 1 year, 2 months ago by postbox-007.
    • This reply was modified 1 year, 2 months ago by postbox-007.
    #520639

    postbox-007
    Participant

    I would like to submit a message.
    After testing some WPML, I’m back to PolyLang. This is currently the cheaper solution for my needs.

    I have reinstalled PolyLang and Loco as well. Now I have tried it again with the instructions – now it works. I can’t say what I did wrong before. But now everything is ok.

    Thanks for the help ! 🙂

    #520798

    Luke Nielsen
    Keymaster

    Hello,

    You are Most Welcome.

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Kind Regards

    • This reply was modified 1 year, 2 months ago by Luke Nielsen.
Viewing 17 posts - 1 through 17 (of 17 total)

The topic ‘change "sold out" label’ is closed to new replies.