Translate Duda Websites

This Duda Websites integration guide shows you how to translate your Duda Websites store in a few easy steps.

709

Below is step-by-step guide for integrating Localize into your Duda website. These instructions assume that you have already created your store.

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

1. Edit your Duda Website

  1. From your Duda dashboard, click on More, then Settings in the sidebar menu.
  2. Select Header HTML.
  3. Paste your code under the Head HTML section.
    1. This code will be added to the <head>tag on every page of your Duda site.

2. Insert the Localize code snippet

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

<script>(function(a){if(!a.Localize){a.Localize={X:[]};var methods="translate","untranslate","phrase","initialize","translatePage","setLanguage","getLanguage","getSourceLanguage","detectLanguage","getAvailableLanguages","setWidgetLanguages","hideLanguagesInWidget","untranslatePage","bootstrap","prefetch","on","off","hideWidget","showWidget"];for(var i=0;i<methods.length;i++){a.Localize[methods[i]]=(function(m){return function(){a.Localize.X.push([m,arguments]);};})(methods[i]);}}})(window);</script>

<script>
  Localize.initialize({
    key: '[[app:key]]',
    rememberLanguage: true,
    // other options go here, separated by commas
  });
</script>
  1. Ensure that your Project Key is displayed next to "key: '????'".
  2. Click Save, then publish the changes.

3. 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

4. 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, and repeat, for each page on your site.

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

5. Approve phrases

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

6. 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 support for custom integration help or troubleshooting!