We are Transcy - a powerful translator and currency converter.
To localize the “Buy it now” button in different languages, it may need some technical skills. However, you can consider to learn about us here . With Transcy, you can skip the complex steps and localize your button in just few simple steps.
And for the question how to apply RTL direction of the text, you can try following these steps:
Go to Online store → Themes → Click Action → Choose Edit code
Navigate the “assets” folder and open the “theme.scss.liquid” file.
Add this code at the bottom of the file
[data-direction="rtl"] {
direction: rtl;
}
Save changes and go to the “theme.scss.liquid” file.
Go to the “locales” folder and open the language file for the Hebrew language (“he.json”).
Find the key for the “Buy it now” button text and add a new key-value pair for the direction of the text. Example:
Save and go to the “sections” folder and open the “product-template.liquid” file.
Find the code for the “Buy it now” button and add the “data-direction” attribute to set the direction of the text. For example:
Save and test.
Hope these informations will help you out. Don’t be hesitate to contact us if you need any further support. Please hit the Like Button or mark this as Accepted Solution to let us know is this is useful, it encourage us a lot.
Hey @Andrey_tea , ‘Buy it now’ cannot be edited unfortunately, however it should be translated by Shopify for Hebrew and Russian. Are you still having this problem?
RTL is not currently natively supported by Dawn, but it is under consideration.