BigCommerce

Powerful Ecommerce Tools. Grow your business 2x faster with Localize!

Translate your Big Commerce Application with Localize

Below is a step by step guide for integrating Localize into your Bigcommerce application.

If you do not have a Localize Project yet, signup here!

1. Click "Storefront" in the left navigation menu in your Bigcommerce Dashboard. Then, click “My Themes” under the Storefront menu.

2. In the My Themes page, under the "Current Theme" tab, locate and click the "Advanced" dropdown.

3. Select “Edit Theme Files” in the dropdown menu. This will open a popup.

4. Click “Edit Theme File” in the popup. This will open an inline editor in the bigCommerce website.

5. In the editor, locate “base.html” in the path -> templates - >layout -> base.html.

6. Once there, add the Localize Code Snippet.

<script src="https://global.localizecdn.com/localize.js"></script>

<script>!function(a){if(!a.Localize){a.Localize={};for(var e=["translate","untranslate","phrase","initialize","translatePage","setLanguage","getLanguage","detectLanguage","getAvailableLanguages","untranslatePage","bootstrap","prefetch","on","off"],t=0;t<e.length;t++)a.Localize[e[t]]=function(){}}}(window);</script>

<script>
 Localize.initialize({
  key: '[[app:key]]',
  rememberLanguage: true
 });
</script>

Ensure that you insert the code inside the <head> tag as in the image below.

7. Save & Publish your changes.

8. Reload your website.

  1. Visit your website in a browser.
  2. Select one of your target languages using the language switching widget.
  3. Refresh the page.
  4. Lather, rinse, repeat, for each page in your site.

Localize will automatically begin to detect new content on the pages that you visit, and will bring it into your dashboard.

9. Approve phrases

Then head on over to the Phrases tab to approve phrases in the Localize dashboard.

4) Phrases not showing up?

If you are not seeing phrases show up in your Pending bin in the Localize dashboard, follow the troubleshooting instructions here.


Need Help? Contact us for custom integration help or troubleshooting!

BigCommerce


Powerful Ecommerce Tools. Grow your business 2x faster with Localize!

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.