Spacecraft

Build a completely responsive website that scales across all languages and devices seamlessly.

Translate your SpaceCraft site with Localize

Below is a step by step instruction on how to integrate Localize with SpaceCraft.

If you haven’t created a trial website with SpaceCraft yet, click here!

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

Part 1: Enable Developer Permissions

1) Select Settings (gear icon) at the top of your SpaceCraft Dashboard.
2) Select Users & Roles.
3) Select the Edit link next to the user email you want to grant Developer access to.

4) Check the Developer box and press Save.

5) You should now be able to see an additional Developer tab on your navigation menu.

  • Developer tools allow you to make and add HTML content blocks to your website.

Part 2: Add the Localize Code Snippet To Your Website

1) Select Content at the top of your SpaceCraft Dashboard.
2) Select Footer under the title Global Content on the right side.

3) Select the circular green + button below your current footer blocks, then select the green tile Custom HTML.

4) In the code box, paste your 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>

5) Press the blue Save button.
6) Press the big green Publish button.

7) Reload your website.

Visit your website in a browser in your target language and refresh the page.
Localize will automatically begin to detect new content on the page.

Part 3: Approve Phrases

1) Approve phrases

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

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

Spacecraft


Build a completely responsive website that scales across all languages and devices seamlessly.

Suggested Edits are limited on API Reference Pages

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