What is the languages section?
You can now choose to add multiple languages to your storefront with the Languages section in your store settings. The languages section translates all the static words like 'Account', 'Bag', 'Search', 'Product', 'Loyalty Points', etc for your store.
Dukaan now has support for 100+ languages based on Google Translate's API. However, complete support for RTL languages is not there.
Note: The languages section does not translate inputs made by you on your Dukaan dashboard. This included data about your products, categories, etc. We will see how you can translate these below.
How to add a secondary language?
In order to add support for multiple languages on your store, head over to the Languages section in your store settings.
By default, English would be marked as your primary language.
Now, click on Add more languages. A dialogue box with the list of languages will open. You can also search for the language you wish to add by typing it in the search box.
Let's take the example of Hindi. Select the language of your choice and click on Add.
Support for your chosen language has now been added to your store. Your customers will now be able to change their language by clicking on the Change store language button at the top.
How to set a primary language?
To set a primary language, click on the three dots beside the language you wish and click on Make primary language. This will open your store's website directly in the primary language
How to change the language of my products & categories?
By choosing a language from the Languages settings, all your static text like 'Bag', 'Product', 'Wishlist', etc is translated using Google Translate's API.
However, you still need to translate the content you have added like your product name, description, category name, and description, etc to make it a seamless experience for your customers.
In order to do this, head over to the product/category and click on it.
You will see the languages added by you in the top right section. Click on it and select the language you wish to edit. In this case, we have added Hindi.
A dialogue box will open with Hindi selected at the top. You can input your product name and description in the selected language here. The inputs you provide here will directly be rendered on your site when a customer clicks on 'Change store language'.
Once added, scroll below and click on Save.
You can follow the same process to edit the name of categories.
Note: Support for bulk upload of language content for your product and categories will be added shortly