Hello,
Yes, use the translation files to change the text to what you need. I mean instead of real translation you will add the “Sold out” text into translation field. How to translate theme you can read here https://xstore.helpscoutdocs.com/article/30-base-theme-translation
Regards