3dcart

Translate your 3dcart eCommerce store

Below is a step by step guide for integrating Localize into your 3dcart eCommerce store.

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

1) Log in to 3dcart

Log in to your 3dcart Store Manager

2) Open your Theme

Click Settings > Design > Themes & Styles

3) Edit the Template

Click on the More button in the top/right of the screen, then select Edit Template (HTML)

Click on frame.html to open the template for editing.

4) Insert the Code Snippet

Copy the Localize code snippet below...

<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","hideWidget","showWidget"],t=0;t<e.length;t++)a.Localize[e[t]]=function(){}}}(window);</script>

<script>
 Localize.initialize({
  key: '[[app:key]]',
  rememberLanguage: true
  // other options go here, separated by commas
 });
</script>

...and paste it into the template just before the closing </head> tag.

5) Add Initialization Options

Add any desired options to the Localize.initialize() call above, check here for the full list of possible options.

Some popular options include:

  • autoApprove - use to fully automate your translation workflow
  • localizeImages - allows for localization of images in your site

6) Click Save

7) Visit your Website

  1. Visit your website in a browser.
    You should now see the default Localize language-switching widget.
  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.

8) Approve phrases

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

8) 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!

Updated about a month ago

3dcart


Translate your 3dcart eCommerce store

Suggested Edits are limited on API Reference Pages

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