Change 'Sold out' text on collection page?

Thank you very much @KetanKumar

Actually, if we want to change the Sold Out text on the product page to SOLD, how do we change that please?

Here’s the code…

{% comment %} Sold out {% endcomment %}
              {% if variant.available == false %}{{ 'products.product.sold_out' | t }}{% endif %}

I tried (using your previous example) but failed as it inserted the words SOLD alongside the price when a product was available and in stock.

Here’s the screenshot of a product page.