Giter Club home page Giter Club logo

translate.js's Introduction

Translate.js

In first you need to define the key into the code !

npm Download JavaScript Style Guide

Translate Image


Just translate your page in any languages in a few minutes ! It's simple just look the code and put them in your website, it will go to translate your homepage in english, french, chines, spanish ... Or in the language of user.

Version-Beta

  • When you put your api key you can start !
  key = "trnsl.1.1.20190116T140121R.00f8ae71621er1e0.eaefcd93daec53e594f1c0ce8527a69005b1b74e" //Your api key - Here it is an example
  data.to = "en" //Translate to english ('fr' French ...)
  type.push(tag("a")) //Push a new tag to translate (default: p, span, pre, i)
  Translate() //Launch the translation

Translate automatically the page in the language of user

window.onload = function(){
 //type.push("any item")
 Translate();
}

Language | Code Language | Code


  • Azerbaijan az - Malayalam ml
  • Albanian sq - Maltese mt
  • Amharic am - Macedonian mk
  • English en - Maori mi
  • Arabic ar - Marathi mr
  • Armenian hy - Mari mhr
  • Afrikaans af - Mongolian mn
  • Basque eu - German de
  • Bashkir ba - Nepali ne
  • Belarusian be - Norwegian no
  • Bengali bn - Punjabi pa
  • Burmese my - Papiamento pap
  • Bulgarian bg - Persian fa
  • Bosnian bs - Polish pl
  • Welsh cy - Portuguese pt
  • Hungarian hu - Romanian ro
  • Vietnamese vi - Russian ru
  • Haitian (Creole) ht - Cebuano ceb
  • Galician gl - Serbian sr
  • Dutch nl - Sinhala si
  • Hill Mari mrj - Slovakian sk
  • Greek el - Slovenian sl
  • Georgian ka - Swahili sw
  • Gujarati gu - Sundanese su
  • Danish da - Tajik tg
  • Hebrew he - Thai th
  • Yiddish yi - Tagalog tl
  • Indonesian id - Tamil ta
  • Irish ga - Tatar tt
  • Italian it - Telugu te
  • Icelandic is - Turkish tr
  • Spanish es - Udmurt udm
  • Kazakh kk - Uzbek uz
  • Kannada kn - Ukrainian uk
  • Catalan ca - Urdu ur
  • Kyrgyz ky - Finnish fi
  • Chinese zh - French fr
  • Korean ko - Hindi hi
  • Xhosa xh - Croatian hr
  • Khmer km - Czech cs
  • Laotian lo - Swedish sv
  • Latin la - Scottish gd
  • Latvian lv - Estonian et
  • Lithuanian lt - Esperanto eo
  • Luxembourgish lb - Javanese jv
  • Malagasy mg - Japanese ja
  • Malay ms

translate.js's People

Contributors

yoannchb avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.