Ember

A framework for creating ambitiously localized web applications.

Translate your Ember Application with Localize

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

If you do not have a project yet, signup here!

1) Copy your Localize code into your index file for your ember app.

Insert the code in your index or layout files' <head> </head> tags:

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

2) Load your application in your browser.

If Localize is properly loaded, Localize will automatically begin to detect new content on the page.

Note: enter 'Localize' into your browser inspector to ensure the library is loaded properly.

3) Reload your website and head on over to Localize Phrases to approve phrases in the Localize dashboard.

Localize will automatically detect the content on your website and and save it to your Localize account.


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