Follow

Backbone.js

Below is a step-by-step guide to integrate Website Translator into your Backbone.js Site.

 

1. - Get the Translate code snippet: Open up a new browser window and, if you haven't already, sign up for an account at Translate.com (or just log in!). Then click 'Website Localizer' on the left, followed by 'Add New Website' to get started: 

 

          add-website.png

 

Add your domain name, select your site source language as well as all of the languages you want to translate into and click next:

 

                                select_languages.png

 

Copy the code snippet, which your page will need for the translation (yours will have an actual key rather than just "my-key"), then press 'Finish'.

 

 

 2. - Paste the code snippet into the index file of your site underneath the <head> tag.

 

3. - Verify widget: Once saved, verify the Website Translator widget is on the lower right side of the screen and allow one hour for translations to appear.

Comments