زر ترجم المحتوى كلانا نعرفه جيدا وهو في أغلب المدونات
ولكني أحضرته اليوم بشكل جديد جدا وبشكل رائع
ولإضافة هذا الزر الى مدونتك فضلا اتبع الآتي
أولا إذهب الى لوحة التحكم ثم الى التخطيط ثم إضافة زر
HTMLبعد ذلك إذا أردت إضافة الزر على هذا الشكل
ضع الكود التالي
<style>
.google_translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
}
.google_translate:hover img {
filter:alpha(opacity=30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
.google_translatextra:hover img {
filter:alpha(opacity=0.30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
</style>
<div>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="English" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRGa8AVYg9y9dewi95XrIlbRjWx5tLPteqUh_D_H2iK8F041V-DOwqXtAEsq6kPpUsYd_kijSNJXVIHMK6YCWKgGmjWOB0dITFznyAJ9njcCIWuAu4DWIhsCbuKvj9sZcIRvzm9cf3HR0/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="French" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpcWlvU6d5ytSBPK-iKFl5aYetVtopTJFPEjCHpa8LdcY3zFPMpknzhrhVrvOOYRWeeHCS4fD1PLmI3Fv0FWQF9kL7j07wm_RC16AA8f6dDhyphenhyphenRor9f6LjW10QRO-pTOtl9oZ45kCc15II/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="German" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvryE6xRRnD8upk9iwi8f6rPWfxrE3gE1s6ryW6Dx4ItSwodko4lNlbRRAWuWM7Q6goAsiK_tzIl-99L7NPdDzpKo5jS24R_GLLi72jzBqbtlLUY90H3f4qehxUwfGtzS46xif13J6S0Xz/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spain" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSYtgSsFpaOruEQwoFTxXgIPINiIb64Vkm1xOq-ze5XCFajrI19hzLIcZh05SbuxPQwuwifEiGKCOiqjmpbC9nkEgtKwIr4DKF-4dL78f0guVR6Fdh9XhtQRGInKDgPzc4Itu_xlkAGhsk/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Italian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvItBsUWMCmbyogoAi2MlMXfRemArbh517pM4EHTuU7slf52Fr2pLVlfwDp4fiSwJOgUIXADpcYHf4X5S4QNDt74UShwDOvYbjPqEyogf_1qxLLnX-Lfr97urGEZKEvU-rKjS6ivgsRWM/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Dutch" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicLVcdj_5fM7YMSZj_hdhDAF-Cg1GDTzTDbCZxMoGdfjwYLkRq4VnvGPAn5RW4QrY5V8vwCpWHjA6wqh0mHhbtRxrGlcyMZNmM9pujp8uSt4LSSSMOcuHkAeDw4vq4aIfuKQrqLrdOnHs/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<br/><br/>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0PySjp9ml82NBfi_pZW6q5o3L835icLMdwwkF26Hh1KGCxyX9fItPmhiUmVVeqEf7oBumIFCIxnnqFHci75z4OH57gjpvhOPgNcFSJQZRswwWHuK2tjUONNMtJTYeBB3kbv0_0OnLbjc/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Portuguese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA_meq2QEnSPcsaK5dKXyJfrvlOiBLzTIFMV3PoNL25-TRSKF_OnMQkkI9tRJHR0gvMOnjGL3gQlw8chGj_uXucs4V_Cf-687r2zKBpc6Bc4Bh8H57gDPJHkgTKC_v_KdCqvWbHejTq44/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Japanese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPWCVBB-N_9iPn3uPgoP6B_W2TEN9WAh8iVIh7-ecfoD_XS1_N5AvgmU_wGGQAmk82nXuq-S_ULVSvaqCFHtsCXBhfE9oqzAkbFTcXp4uFb5YJHZwFfcslt7wSE2UL8D06mn_wSq6kwjWl/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6gx6FgA1OrYOxH67pNcWPP6y-ww06N7KwQOy0w99mNI4782sazbbxwwH9u-qq9bonHL0t3-tM38jTKyMlmA1hvEixZyyv9m43nkSIlbD9eEnKNJpmnaqDzEhimQabfEdtxRGPi4EOZGI/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Arabic" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYlR8vkvlVFM4Ejh2u7GfHh0MZTyf-PK5bj0i5rJ2T3gh-7crSZ8ax7__-lnDFlxP0WGYJoUkwCMnW07yktaDTfd0sIK-7lgpZzBtUsE3yXrUl3jow3WkflsIxwRpKHr3XTUZ3IetRrpY/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese Simplified" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Czh-CN&hl=en'); return false;"><img alt="Chinese Simplified" border="0" align="absbottom" title="Chinese Simplified" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-rWCECGnMK9OclGMOsuGFyi4IKPewD9HstJZgpEQdzye0FSDTPazn2sOU7M3mMfT2K-mx_OiV-31Ss1e5j7F1iKXFBQrsxC7tcWyAQl-0iGxSKcUDZaiRqM-GYvI0V7FGgkrilozQbbk/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
</div><div style="font-size:10px;margin:10px 0px 3px 0px">
</div>
وإذا أردت إضافته على هذا الشكل قم بإضافة الكود التالي
<style>
.google_translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
}
.google_translate:hover img {
filter:alpha(opacity=30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
.google_translatextra:hover img {
filter:alpha(opacity=0.30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
</style>
<div>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="English" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRGa8AVYg9y9dewi95XrIlbRjWx5tLPteqUh_D_H2iK8F041V-DOwqXtAEsq6kPpUsYd_kijSNJXVIHMK6YCWKgGmjWOB0dITFznyAJ9njcCIWuAu4DWIhsCbuKvj9sZcIRvzm9cf3HR0/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="French" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpcWlvU6d5ytSBPK-iKFl5aYetVtopTJFPEjCHpa8LdcY3zFPMpknzhrhVrvOOYRWeeHCS4fD1PLmI3Fv0FWQF9kL7j07wm_RC16AA8f6dDhyphenhyphenRor9f6LjW10QRO-pTOtl9oZ45kCc15II/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="German" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvryE6xRRnD8upk9iwi8f6rPWfxrE3gE1s6ryW6Dx4ItSwodko4lNlbRRAWuWM7Q6goAsiK_tzIl-99L7NPdDzpKo5jS24R_GLLi72jzBqbtlLUY90H3f4qehxUwfGtzS46xif13J6S0Xz/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spain" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSYtgSsFpaOruEQwoFTxXgIPINiIb64Vkm1xOq-ze5XCFajrI19hzLIcZh05SbuxPQwuwifEiGKCOiqjmpbC9nkEgtKwIr4DKF-4dL78f0guVR6Fdh9XhtQRGInKDgPzc4Itu_xlkAGhsk/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Italian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvItBsUWMCmbyogoAi2MlMXfRemArbh517pM4EHTuU7slf52Fr2pLVlfwDp4fiSwJOgUIXADpcYHf4X5S4QNDt74UShwDOvYbjPqEyogf_1qxLLnX-Lfr97urGEZKEvU-rKjS6ivgsRWM/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Dutch" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicLVcdj_5fM7YMSZj_hdhDAF-Cg1GDTzTDbCZxMoGdfjwYLkRq4VnvGPAn5RW4QrY5V8vwCpWHjA6wqh0mHhbtRxrGlcyMZNmM9pujp8uSt4LSSSMOcuHkAeDw4vq4aIfuKQrqLrdOnHs/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0PySjp9ml82NBfi_pZW6q5o3L835icLMdwwkF26Hh1KGCxyX9fItPmhiUmVVeqEf7oBumIFCIxnnqFHci75z4OH57gjpvhOPgNcFSJQZRswwWHuK2tjUONNMtJTYeBB3kbv0_0OnLbjc/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Portuguese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA_meq2QEnSPcsaK5dKXyJfrvlOiBLzTIFMV3PoNL25-TRSKF_OnMQkkI9tRJHR0gvMOnjGL3gQlw8chGj_uXucs4V_Cf-687r2zKBpc6Bc4Bh8H57gDPJHkgTKC_v_KdCqvWbHejTq44/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Japanese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPWCVBB-N_9iPn3uPgoP6B_W2TEN9WAh8iVIh7-ecfoD_XS1_N5AvgmU_wGGQAmk82nXuq-S_ULVSvaqCFHtsCXBhfE9oqzAkbFTcXp4uFb5YJHZwFfcslt7wSE2UL8D06mn_wSq6kwjWl/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6gx6FgA1OrYOxH67pNcWPP6y-ww06N7KwQOy0w99mNI4782sazbbxwwH9u-qq9bonHL0t3-tM38jTKyMlmA1hvEixZyyv9m43nkSIlbD9eEnKNJpmnaqDzEhimQabfEdtxRGPi4EOZGI/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Arabic" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYlR8vkvlVFM4Ejh2u7GfHh0MZTyf-PK5bj0i5rJ2T3gh-7crSZ8ax7__-lnDFlxP0WGYJoUkwCMnW07yktaDTfd0sIK-7lgpZzBtUsE3yXrUl3jow3WkflsIxwRpKHr3XTUZ3IetRrpY/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese Simplified" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Czh-CN&hl=en'); return false;"><img alt="Chinese Simplified" border="0" align="absbottom" title="Chinese Simplified" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-rWCECGnMK9OclGMOsuGFyi4IKPewD9HstJZgpEQdzye0FSDTPazn2sOU7M3mMfT2K-mx_OiV-31Ss1e5j7F1iKXFBQrsxC7tcWyAQl-0iGxSKcUDZaiRqM-GYvI0V7FGgkrilozQbbk/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
</div><div style="font-size:10px;margin:10px 0px 3px 0px">
</div>
تم بحمد الله
جزاك الله خير
ردحذفوين أضعه بالظبط
هل له مكان معين أو في أي مكان
ياليت توافيني بالجواب أخي الباسم
ردحذف