Translate Sales Clock from English


Bold Discounts allows you to translate the sales clock verbiage into another language to display on your storefront.

Note: The clock can only be translated into one language at a time.

To translate the sales clock from English on your theme, please follow these steps:

  1. Duplicate themes, to create a backup copy.
  2. From Shopify's admin, select Online Store.

    Select Online Store

  3. Select Actions.


  4. Select Edit code.

    Edit code

  5. Under "Layout", select theme.liquid.

    select theme.liquid

  6. Add this code, anywhere between the <head> and </head> tags.
    function shappify_overwrite_sales_clock_text() {
    shappify_sale_over_label = "Sale Over";
    shappify_sale_ends_in_label = "Sale ends in";
    shappify_day_label = "day";
    shappify_days_label = "days";
    shappify_hour_label = "hour";
    shappify_hours_label = "hours";
    shappify_minute_label = "minute";
    shappify_minutes_label = "minutes";
    shappify_second_label = "second";
    shappify_seconds_label = "seconds";

    paste this code

  7. Change the text in quotes to the desired translation.

    change the text in quotes

  8. Select Save.

    Note: This method may not work with languages using special characters.

    Select save

That's it!

Next Steps:

2 out of 3 found this helpful



Please sign in to leave a comment.