Всем привет! В этом посте я расскажу, как выполнить локализацию вашего блога на Blogger.com с помощью Google Translate.
Локализация:
- Перейдите на вкладку "Дизайн"->"Элементы страницы", и выберете добавить гаджет. В списке гаджетов выберете "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="#" target="_blank" rel="nofollow" title="English" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=ru%7Cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-zMDySZ5XeGIgo73_EKjKEaFT1f66s1ICZvWo1lO2QRpZj9Rc13ehIrPgp3pFpegRBF7dFtKI_B8av_TvmgXgCaRskpCZOrXMCS_Jcm9wSSP3qXsGRjabuIDOd_HG4s4r3EgfkRMSDIo/?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=ru%7Cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnYV1-x0QdM84dTDlqMMO0vxFMmsnuuoqenyjfmKk9qZa-lnHl8xZEHdidPB5XqvcEm7hPeAUocarJD6k-kKy8skKXxSiSVTXGQdqUH5SCxuqr42xZu62zwD3GX5a0ri3Du03xClyvrTs/?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=ru%7Cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR94afT2pyeg-nmMgp-s_lv7gXHr4XF2qJ7QkgB2Pmu9QlzPOoM0MJ9ry5lJszEsjV4bCJ5yuaKd4h4VqLbkK9tFFSn0lY0C9hyphenhyphenXlkSV-joHSNYx_LvkgoUSfBp8_NQv6uHSdS6wMzCsMx/?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=ru%7Ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiruv0kzpMkGHQE9AaBXW1BTH30ByeN4njJ2l40XIEtpsG8oZUZgz1l4GQaWIWzdTBT9W0RE0M6FjbIUt-1RfFpfZKXZTmyMKP9JLWBd7lsKOSnOTpLs6rk80qyalamAb4R18Lwg3PddMNE/?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=ru%7Cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvtYX8N5y1wFoSQGVeAlIf4C34W-d9qCtwMrceIyfFWgzTnJqYkbbN8qz77iJISQqzHk2MAZDm7O1hQ2m3XnFkTlmyrPuzxJ9HlOpGIVZ6pqDj6jTSi3j9FFUtmWKQwPvjkMZG3semm8/?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=ru%7Cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh72rt6mNeVM2HLZ76Ei5BQr17AHdwSqFv0LgBh-PnWuEEuOMQtcZ4fA45RTSEYQLQMFPu4fgCotKyE2XekhFKkdA5W2kOIQCyi7MoNI27WbLMA9R_oO8JsojWS2845KFJ2FasQXlBWupo/?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=ru%7Cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzUPGjIzKlWDmOR1MysWOnjMmKi_Zaj7um2rfunXp6isZkCOhVl3hA2GaM7R7DIzhiGOL_j2TYJXA_vqf3xJJtV6Zq2GI15s7rGLyhSofWTmlbT1awOA4R-vDZsOrx_BOYffqMEZyKDno/?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=ru%7Cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK4CR5HZdL9OZGnIFpWWKs9c2OD_WjFusGlGeWZTa_iXo82VkL-pR1E7NLL9R_2Ble94RhQtFIkhaSDxCwLLzmPpis6YxEikIzU1HQDODJVi6-NV7zoobENtG-5rK15qhm0I9RH5E5pvY/?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=ru%7Cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibDCZSL_DlW-UEnUn2gAOXzmN3WJt8gOUVr0qrt2GqGS486uTc8H4VY5eByh38B-b-jpBfKXLNQ9nKVyroplwB7FYfZ976sdzmf9H3nxVZ0-JnHQFxiiRUKX9mVhOb-w-ZciLHXiBTi7zG/?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/AVvXsEg7N_5aCJNdVrd3d8bzjDyYqtEDoNDqRrDxEKGlbcyh78VHdsHkNr96H9dOtj0cfGvuaUkfbHtol5QI6iAVfoRQrTqf2LIPqlleA5SV_1CdO5oG2U770tKg_gS3t0C1NFQsQp4RlhfWOws/?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=ru%7Car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhwXwmCebqk5UlGR05uOWeaM_KGv6KYzpXWXSadfZfu3AtKlIVl1r_NzyCfQqF5f5DTdVBqb8Ix42WQ6SACHqSWr0r84Kj74LSoInFnNsB2sU0y_AyA93K-3GvGzQLlGz2b6Gknc0957g/?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=ru%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/AVvXsEii8mILXMCMlQotU2ZmOR_jOrJM7ROU_mxPgdZnbtHFaHg4nE86C_lVR973o8N9x8nTIqE7LODNyfGZofrXF_Z-t0Ywpqi1nL6p8H6kOnCWa-5TGIqHStWITBs2R9iaLiQkfUBzprRRIL4/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24" /></a></div>
Мне вот кажется это не актуально) Но я по пробовал все работает панелька появилась.
ОтветитьУдалитьНу почему же, может какой-то иностранец, который не знает русского решит прочитать ваши статьи. Google translate конечно не идеально переводит, но всё лучше чем нечего:)
ОтветитьУдалить