Bilingual Settings: How to Add Content in Two Languages

There are four main areas you'll need to set up, to make sure your content is displayed correctly in two languages. The theme itself doesn't come with translations (as we couldn't possibly cater for all the languages, regions and combinations!), so the theme gives you the power to set your translations for every piece of text in your Shop. Here's how.

Quick-Start Video


Step 1. Bilingual Theme Settings

Under Theme Settings > Bilingual, you can enter all the individual pieces of text that appear throughout your store. This includes things like "Next", "Add to Cart", "Account" and so on.

The first thing to do is give your two languages a name:

Note: If you only want to use the theme for one language, just uncheck "use language 2", and forget about the translations.

Next, fill out each of the translations using a pipe character to separate the languages, like this:

This would show "Account" when in English mode, and "Cuenta" when in Spanish mode. (Can't find the pipe character?)

Fill all of these text snippets out and Step 1 is complete. This helps our screen look like this:

Step 2. Navigation / Menus

Go to Admin > Navigation, and you will see your menus.

To show these in two languages, we use the same technique as in the previous step - use the pipe character to separate language 1 and language 2.

For "Home", for example, we would enter it as below, into the text box in your navigation. This will show "Home" in English mode and "Inicio" in Spanish mode.




To see an example of all the menus on this demonstration store, so you can copy the structure, click here.

Do this for anywhere you see a text box in Shopify: Product titles, menus / navigation, tags, and so on.

Step 3: Page content and products

We need to wrap a <div> tag around each language's content in a product or page. This is much easier than it sounds, and only involves some copy and pasting.

  • First, Type the content in two languages on the page/product using the text editor, as normal.
  • Click the button to switch over to HTML view.
  • Then, wrap each language's content in a div like this:
<div>#lang1:
<p> English content goes here.</p>
</div>
<div>#lang2:
<p> Spanish content goes here. Maybe with some <strong>bold text</strong></p>
</div>

You can use this technique wherever you see the text editor: pages, product descriptions, and blog articles.

Example:



Step 4: Checkout Text

Because of limitations in Shopify, we're not able to switch languages in checkout. Instead, we'll enter the TWO languages for each piece of text. This needs to be done manually via Settings > Checkout > Checkout language. There's no way to show only *one* language in the checkout, so we need to set it up with both. It's good practice to separate them with a slash.

  • Go to Settings > Account > Checkout (Can't find it? Click here to see screenshots > )
  • Scroll down until you see "Checkout Language", and hit Create New Translation.
  • Enter both languages for each piece of text, to replace the English.


We realise this is not the optimal way of translating the checkout. It would be nice to be able to show only the one language. However, until Shopify allows us to control the checkout process, this is the best we can do. We do feel this is still an intuitive experience, as customers can still see their language.


You can apply these same techniques throughout all aspects of your store: using the pipe character to separate anything in a text box, and the <div> tags for any on-page content you type into a text editor.

Video coming soon.

Tabs with two languages

Adding Tabs

Note: For Tab Headings, you'll need an additional pipe character at the START and END of the title.

Horizontal Tabs

Tab 1 language 1 content goes here

Tab 1 language 2 content goes here

Tab 2 language 1 content goes here

Tab 2 language 2 content goes here

Tab 3 language 1 content goes here

Tab 3 language 2 content goes here

Here's the code you need:

CLICK HERE TO OPEN, COPY & MODIFY CODE FOR HORIZONTAL TABS>


Vertical Tabs

Language 1 content goes here.

Language 2 content goes here.

Language 1 content goes here.

Language 2 content goes here.

Here's the code you need:

CLICK HERE TO OPEN, COPY & MODIFY CODE FOR VERTICAL TABS >


Open + Close sections (great for FAQs)

Use the same code as "Vertical Tabs" above.

Creating Drop-Down Menus

To create a drop-down menu, first decide on your structure and which menu items should have a drop-down menu. For example: If your main menu is "Home, Products, About Us", you may decide to have "Products" with a drop-down menu and several categories underneath.

To do this, you need to go to Admin > Navigation and create a new Link List with the same name as the menu item you want to have in your drop-down menu.
If you are creating a bilingual drop-down menu, you must name your menus in one language first, then save, then go back and add the second language.

Example: If we want to create a drop-down menu for "Products":

  • Go to Admin > Navigation
  • Make sure you have a link called "Products" in your main navigation
  • Go to Add New Link List
  • Call this new link list "Products"
  • Add individual links to go in the drop-down, such as your categories (T-Shirts, Sunglasses, Hats)
  • Save
  • Go back and add the second language item, separated by a pipe character
  • Trouble? Make sure the handle matches up with the link name. Example: it should be 'products' not 'products-1'. If it doesn't drop-down, this is usually the reason why. Check the handle :)

Creating Nested Sidebar Menus

This is also the same method you would use to create nested sidebar menus (expand/collapse).

  • Go to Admin > Navigation
  • Go to Add New Link List
  • Call this new link list "sidebar"
  • Add individual links that will be the main categories (By Country, Shop Coffee) in the nested sidebar menu
  • Save
  • Go back and add the second language item, separated by a pipe character
  • Trouble? Make sure the handle matches up with the link name. Example: it should be 'products' not 'products-1'. If it doesn't drop-down, this is usually the reason why. Check the handle :)
  • Now Add a New Link List for the submenu items and name it exactly the same name as the individual links you just created above.
  • Add individual links that will be the sub-categories (Brazil, Mexico etc.)
  • Save
  • Go back and add the second language item, separated by a pipe character.

The final step is to add the sidebar menu to your sidebar. To do this go to your Theme Settings and find the 'Sidebar' section.

Select your sidebar menu from the dropdown and then 'Save'.