如何给网站添加google翻译

技术分享 · Fecmall · 于 6年前 发布 · 7405 次阅读

How to add Google Translate to your website Want to make your website multilingual, but don't want to do all the translating manually? Then your best bet is to embed Google Translate directly into your website! Google Translate allows you to instantly translate your website into 60+ languages.

Follow the easy steps below to add the widget to your website.

Step 1 Go to https://translate.google.com/manager/website/ and sign in to your Google account when you are prompted to.

Step 2 Click on the "Add to your website now" button on the right-hand side.

Step 3 On the next page, you will be required to complete two parts:

Enter the URL of your website into the empty "Website URL" field (for example: www.yourwebsite.com). Choose the original language of your website from the dropdown menu.

Click the Next button.

Step 4 On this page you will choose whether you want to be able to translate into all of the available languages, or only the languages that you choose. You will also choose how the translate widget will look on your website, and advanced features.

When you're done making these choices, click Get Code.

Step 5

On the next page you’ll then see some code that you need to insert onto your website.

This needs to be pasted into a new Widget/HTML element. Choose where you want the translator dropdown to show up on your website (we suggest adding it to the Sidebar), add a Widget / HTML element to that part of your page, then paste the widget code into the new element.

Step 6 You can manage the translations made on your website, in case you want to ensure that they are done properly and edit them if the translations aren't quite correct. To do this, click on the Manage Translations button at the end of the embedding process.

You can reach this option any time by going to https://translate.google.com/manager/website/ and logging in to your Google account.

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics