Automatically translates your URL based on the user's location, if necessary.
Pull request Compare This branch is even with briancray:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README
translate.html
translator.js
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