Cratejoy

Start your own international subscription box business.

Translate your Cratejoy Application with Localize

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

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

1) Login to your CrateJoy Merchant Account

2) From the side menu; select "Apps", then "App Store".

3) Find Localize, then select "Install-FREE".

4) Confirm by selecting "Install Localizejs For Free".

5) Once there, add your Localize Script

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

6) Select your default language, toggle the activation switch to "ON", then click "Save".

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.

8) Approve phrases

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

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

Cratejoy


Start your own international subscription box business.

Suggested Edits are limited on API Reference Pages

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