Skip to content
This repository was archived by the owner on Aug 30, 2018. It is now read-only.
This repository was archived by the owner on Aug 30, 2018. It is now read-only.

Translations aren't updating unless JS is changed #566

@ghost

Description

If the store language is changed, some of the values, e.g. 'Buy Now' on the product page, and 'Your Cart is empty' in the AJAX sidebar don't update.

If you look into the frontend JS (timber.js) when a language is changed, the values in here, e.g:

$addToCartText.html({{ 'products.product.add_to_cart' | t | json }});

Are not updated either, so will be set at the previous language.

The temp fix I am using is dragging the 'timber.productPage' into theme.liquid, with some liquid that only fires it on the product page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions