Sharing of two website page translation plug-ins

Sharing of two website page translation plug-ins

TranslateThis URL: http://translateth.is

Google Translate URL: http://translate.google.cn/translate_tools?hl=zh-CN&sl=zh-CN

Translate

Copy code
The code is as follows:

<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'zh-CN',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>


Copy code
The code is as follows:

<!-- Begin TranslateThis Button -->
<div id="translate-this"><a href="http://translateth.is/" class="translate-this-button">Translate</a></div>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>
<script type="text/javascript">
TranslateThis();
</script>
<!-- End TranslateThis Button -->

<<:  Basic use of subqueries in MySQL

>>:  Util module in node.js tutorial example detailed explanation

Recommend

Detailed tutorial on using the tomcat8-maven-plugin plugin in Maven

I searched a lot of articles online but didn'...

JavaScript manual implementation of instanceof method

1. Usage of instanceof instanceof operator is use...

el-table in vue realizes automatic ceiling effect (supports fixed)

Table of contents Preface Implementation ideas Ef...

Based on JavaScript ES new features let and const keywords

Table of contents 1. let keyword 1.1 Basic Usage ...

Introduction to fourteen cases of SQL database

Data Sheet /* Navicat SQLite Data Transfer Source...

How to use Vue3 mixin

Table of contents 1. How to use mixin? 2. Notes o...

MySQL replication table details and example code

MySQL replication table detailed explanation If w...

mysql8.0.23 msi installation super detailed tutorial

1. Download and install MySql Download MySql data...

Vue uses custom instructions to add watermarks to the bottom of the page

Project Scenario Add a custom watermark to the en...

CocosCreator Getting Started Tutorial: Making Your First Game with TS

Table of contents premise TypeScript vs JavaScrip...

Detailed explanation of Apache website service configuration based on Linux

As an open source software, Apache is one of the ...

Talk about how to identify HTML escape characters through code

Occasionally you'll see characters such as &#...