Google Translate Signal Style
- မိမိ blog site ကို account အရင်ဝင်ပါ
- dashboard ထဲက Layout ကိုနှိပ်
- Add a Gadget ကိုနှိပ်
- HTML/JavaScript ကိုနှိပ်
- အောက်က code တွေထည့် ပြီးပါပြီ
<div id="google_translate_element"></div>
<style>
.goog-te-banner-frame.skiptranslate {display: none!important;}
body {top: 0px!important;}
#goog-gt-tt {
display: none!important;
}
#goog-gt-tt:hover {
display: none!important;
}
.VIpgJd-ZVi9od-ORHb-OEVmcd {
left: 0;
top: 0;
height: 39px;
width: 100%;
z-index: 10000001;
position: fixed;
border: none;
border-bottom-color: currentcolor;
border-bottom-style: none;
border-bottom-width: medium;
border-bottom: 1px solid #6B90DA;
margin: 0;
box-shadow: 0 0 8px 1px #999;
display: none!important;
}
.goog-text-highlight {
background-color: transparent!important;
box-shadow: none!important;
}
.goog-te-gadget-simple {
background-color: rgba(255, 255, 255, 0.2) !important;
border: 1px solid rgba(198, 198, 198, 0.5) !important;
padding: 8px !important;
border-radius: 4px !important;
font-size: 1rem !important;
line-height: 2rem !important;
}
.status-msg-border {
border: 0px !important;
filter: alpha(opacity=40);
-moz-opacity: .4;
opacity: .4;
width: 100%;
position: relative;
}
.status-msg-body {
text-align: center;
padding: .3em 0;
width: 100%;
position: absolute;
z-index: 4;
background-color: #fff !important;
}
</style>
<script type="text/javascript">// <![CDATA[
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'ar,zh-CN,en,fr,id,it,ja,ko,my,ru,es', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
}
// ]]></script>
<script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" type="text/javascript"></script>
Languages:ar,zh-CN,en,fr,id,it,ja,ko,my,ru,es ဒီ နေရာ တွေမှာမိမိထည့်သွင်းအသုံးပြုမဲ့နိုင်ငံရဲ့ဘာသာစကား code ကိုအောက်မှာ ဖော်ပြ ပေးလိုက်ပါတယ်။မိမိလိုအပ်သလိုပြင်ဆင်နိုင်ပါတယ်
| Country | Code | Country | Code |
|---|---|---|---|
| English | en | Russian | ru |
| Myanmar | my | Ukraine | uk |
| Korea | ko | Malaysia | ms |
| Japan | ja | Indonesia | id |
| Thailand | th | India | in |
| Vietnam | vi | Italy | it |
