Nhúng Google Dịch Vào Website - GitHub
Có thể bạn quan tâm
Instantly share code, notes, and snippets.
- Download ZIP
- Star (0) You must be signed in to star a gist
- Fork (0) You must be signed in to fork a gist
- Embed Select an option
- Embed Embed this gist in your website.
- Share Copy sharable link for this gist.
- Clone via HTTPS Clone using the web URL.
No results found
Learn more about clone URLs Clone this repository at <script src="https://gist.github.com/kythuatwebso/acf4074f894a49e730d71e8dec0c99fd.js"></script> - Save kythuatwebso/acf4074f894a49e730d71e8dec0c99fd to your computer and use it in GitHub Desktop.
- Embed Embed this gist in your website.
- Share Copy sharable link for this gist.
- Clone via HTTPS Clone using the web URL.
No results found
Learn more about clone URLs Clone this repository at <script src="https://gist.github.com/kythuatwebso/acf4074f894a49e730d71e8dec0c99fd.js"></script> Save kythuatwebso/acf4074f894a49e730d71e8dec0c99fd to your computer and use it in GitHub Desktop. Download ZIP Nhúng Google dịch vào Website Raw google-translate-for-website.txt This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters| <div id="google_translate_element"></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> |
kythuatwebso commented Oct 29, 2021
{* GOOGLE DICH *} {literal} <script type="text/javascript"> var width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; if (width >= 768) { function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'vi', includedLanguages : 'vi,en'}, 'google_translate_desktop'); } } else { function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'vi', includedLanguages : 'vi,en'}, 'google_translate_mobile'); } } </script> <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"> </script> {/literal}Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
kythuatwebso commented Oct 29, 2021
Nhúng vào head.tpl
và chèn div với id: google_translate_desktop vào nơi cần hiển thị
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
kythuatwebso commented Apr 14, 2022 • edited Loading Uh oh!
There was an error while loading. Please reload this page.
CSS:
#google_translate_desktop, #google_translate_mobile { padding-top: 3px; height: 28px; overflow: hidden; }Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
kythuatwebso commented Apr 14, 2022
Plugin:
https://gtranslate.io/
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment You can’t perform that action at this time.Từ khóa » Chèn Google Dịch Vào Website
-
Cách Dịch Trang Web Sang Tiếng Việt Trên Google Chrome Cực Kỳ ...
-
Hướng Dẫn Chèn Google Dịch Vào Website
-
Hướng Dẫn Chèn Google Translate Vào Website - SonWeb - Sơn Web
-
Chỉ Dẫn Chèn Google Dịch Vào Web Page Update 08/2022 - Nextcom
-
Thêm Google Translate Vào Website - YouTube
-
Hướng Dẫn Tích Hợp Google Translate Vào Website - TaSDigital
-
Cách Thêm Tiện ích Google Translate Vào Tình Duyệt Google Chrome
-
Hướng Dẫn Tích Hợp Google Translate Button
-
Hướng Dẫn 2 Cách Dịch Trang Web Nhanh Chóng Đơn Giản Nhất ...
-
Hướng Dẫn Bật Tính Năng Tự động Dịch Thuật Website Trên Chrome
-
Hướng Dẫn Bật Chức Năng Dịch Tự Động Anh Việt Trên Chrome
-
Hướng Dẫn Nhúng Google Translate Ajax Cho Website Và Blog Một ...