Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I really struggle to do one (simple?) thing : I want my French customer to have all the links on the website redirecting to the French version (I thought it would behave by default like this when using /products/my-product-page link in href but it's not...), same for my English customers and I plan to add more language later... So far I have to update every link in every translation to add https://mysite.com/fr...
I am using one single website and I am not looking to manage 2 Shopify stores. I am translating the website myself and I am not looking for a third party to translate my shop.
So far, all links redirect to the standard English version. As explain, I am using in the href the syntax /products/my-product-page, which adds automatically my domain name afterwards. I have played with liquid variable and syntax but I am new to this and nothing worked (I have used {{ shop.locale }} in the href but strangely the result print my site url with the /fr as expected plus the {{ shop.locale }} variable name in the url afterwards like https://mysite/fr/product/{{ shop.locale }}...
Any idea what I am doing wrong or any solution to share ?
Thanks a lot 🙂
If you don't want to use two separate stores, another option to translate your Shopify store to a new language while keeping the internal links in the same language is to use Shopify's built-in multi-language feature.
Shopify's multi-language feature allows you to translate your store's content into multiple languages and then display the correct version of your store based on the customer's language preference. This means that your customers can browse your store in their preferred language, while all internal links and URLs will remain in the same language.
Here are the steps you can follow to use Shopify's multi-language feature:
Install the Multi-language app: Install Shopify's Multi-language app from the Shopify App Store. This app will allow you to create translations of your store's content in multiple languages.
Create translations: Use the Multi-language app to create translations of your store's content, including product descriptions, collections, pages, and menus. You can also translate your theme's language settings.
Set up language preferences: Go to your Shopify dashboard, and under the "Preferences" section, click on "Languages." Here, you can add and manage the languages you want to offer on your store. You can also set the language preference for your store based on your customers' browser language.
Customize your theme: You can customize your theme to display language switchers and language-specific content. Shopify provides code examples and resources to help you implement these features.
Test your translations: Make sure to thoroughly test your translations to ensure that they are accurate and that your store is functioning as intended.
By following these steps, you can use Shopify's multi-language feature to translate your store into a new language while keeping the internal links in the same language. This option allows you to manage your translations in one store and maintain consistency across your site.
Hi, Is it also possible with this multi language built in feature to write my own translations? Because sometimes I dont like the automatic ones. If so, this would be great for the internal linking, which is now not possible with my external translation app...
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024