In the previous post the Admin already explained how to install Google Translate in the Blog Header Menu, then in this discussion, the Admin will explain how to install Google Translate features above the Blog post automatically and Valid AMP. As already Admin explain beforehand that it does not close the possibilities for blogs that have been ranked on the search results pages of Google Search by users visited by foreign citizens. Therefore, to improve the comfort of visitors both domestically and abroad, especially we as managers and owners of the blog must provide the facility of language translator features. For all blog post content to be accessible and take advantage of by anyone visiting.
To install the Google Translate feature directly above the Blog post automatically, follow these steps:
Please copy the following Google Translate source code:
<a expr:href='"https://translate.google.com/translate?hl=en&sl=id&tl=en&u=" + data:blog.url' itemprop='url' rel='nofollow noopener' target='_blank' title='Translate'><span itemprop='name'>Click Here to Translate This Page Into Your Language</span></a>
Put the Google Translate source code in the post header code area, because the template structure varies here admins can not show the location of the code placement in detail please do a test placement code in the post header code area As shown in the following screenshot:
Klick Save Theme to apply, and try to open one of the content pages of your blog post, if it does not appear or is in an inappropriate view, please try the replacement test on the Edit HTML Template page.
Here's how the Google Translate feature placement looks above the In-Wepo.com Blog post with the Koten by default English.
When the visitor clicks on the Google Translate feature then the visitor will be redirected to the Google Translate page The new Browse tab. Automatically the accessed page will be translated according to the selected language setting.
Likewise the Post content page will also be translated automatically according to the language settings selected by the visitor.
By implementing this method all the content of your blog post is universal can be accessed and taken advantage by anyone both domestic visitors and a visitor from abroad.