Skip to content

malcol27/Automatic-translator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published