briancray/Automatic-translator
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
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