Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Automatically translates your URL based on the user's location, if necessary.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 translate.html
Octocat-spinner-32 translator.js
Octocat-spinner-32 translator.min.js
README
INSTALLATION

1. Copy translator.min.js to your server
2. Include translator.js in your <HEAD>
    <script type="text/javascript" src="/path/to/translator.js"></script>

SOME THINGS TO KNOW

1. If you are testing offline, it won't work. But you can set variable test_url to test against a public URL
2. You can set variable test_cc to force a country code for testing
3. If you have portions of your text that shouldn't be translated (such as source code) add "notranslate" as a class name
Something went wrong with that request. Please try again.