Skip to main content

How to use google translate in website

Google Translate is a free multilingual machine translation service developed by Google, to translate text. It offers a website interface, mobile apps for Android and iOS, and an API that helps developers build browser extensions and software applications. Google Translate supports over 100 languages at various levels and as of May 2017, serves over 500 million people daily. this is how we can adding google translate to website

Create div
<div id="google_translate_element"></div>
Create java script
Include google translate and create function to translate from en(English) into the language chosen in the div
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script>

<script type="text/javascript"
src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
https://sayapusing.com/2019/05/07/adding-google-translate-in-website-2/

Comments

Popular posts from this blog

Cara menampilkan heading table of content yang hilang di pdf

Pernakah kalian men save dokumen microsoft word ke file pdf ?. Terkadang jika kita mensave dokumen micrososft word (.doc) ke pdf, heading yang sudah dibuat didokumen microsoft word akan hilang. Begini cara sederhana untuk memunculkan heading yang hilang. 1.Pilih menu file kemudian pilih save as 2. Pilih jenis file menjadi pdf 3. Lalu pilih option Centang pilihan  create bookmark using Sekian, sekarang heading yang ada didokumen word bisa ditampilkan sebagai bookmark di dokumen pdf. Selamat Mencoba

Cara mudah buat buka website yang diblokir tanpa aplikasi

Website seperti youtube dapat digunakan untuk mencari informasi seperti pelajaran dan lain sebagainya. Namun seringkali beberapa website seperti youtube bisa diblok dan tidak dapat diakses. Berikut ini adalah cara sederhana untuk membuka website yang diblok dan tidak bisa dibuka. 1.Menggunakan proxy online Cara menggunakan proxy online adalah pertama kunjungi situs proxysite.com, kemudian pilih server jika mau dan tentukan link yang diinginkan lalu tekan “GO”. 2. Mengganti DNS Website bisa dibuka dengan mengganti DNS koneksi. Cara ini dapat dilakukan dan berhasil dibeberapa provider internet. Caranya adalah sebagai berikut. Buka  network and sharing center Pilih koneksi yang diinginkan, kemudian pilih  properties Pilih  internet protocol version 4 Ganti dns menjadi 8.8.8.8 Kemudian restarat koneksi internet.

Monthly Idol: How to Increase Your Idol's Concept Point / Stats Faster

Level up and use your idol home’s furniture Click on the shop option.   Then, click on the furniture option. If your idol’s home reachs max level, the furniture will increase your idol’s stats by 100. The living room boost your idol’s coolness. The kitchen increases the cuteness of your idol. The bathroom increases the prettiness of your idol. The rooms increase the sexiness of your idol. You can have five rooms if the level of your idol home has reached max level. Buy the SNS You can buy the SNS for 300 gems. If your idol’s follower at SNS has increased, your idol will get concept point. Use your fan’s gift item You can get fan gifts randomly after you complete the schedule. if you get the same prize (the fan’s gift that you already have), the status of the concept points from your fan's gift will level up. The way to use your fan’s gift is: first, place your fan’s gift in one of the rooms in your idol home by click on the interior option. ...