Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Automatically translates your URL based on the user's location, if necessary.
JavaScript
branch: master

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.