• Image 01

    Buy or download plugins!

  • Image 02

    Put your work on sale!

  • Image 03

    Improve your social network!

  • Image 04

    Help improve OxWall / Skadate

  • Image 05

    Learn to develop plugins

  • Image 06

    Customize your social network

Un sencillo plugin que puedes hacer tú mismo

En realidad no es un plugin, sólo llama a un servicio gratuíto de Google que traduce una página web completa.

Agrega un widget de texto normal.

Entra el siguiente código:


<div id="google_translate_element"></div><script type="text/javascript">function googleTranslateElementInit(){

 new google.translate.TranslateElement({pageLanguage: 'es', includedLanguages: 'de,en,es,fr,it,pt,ca,eu,gl', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');}

</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>


Dónde pones:

{pageLanguage: 'es', includedLanguages: 'de,en,es,fr,it,pt,ca,eu,gl',

pones el código de tu idioma base (en mi caso es 'es') y la lista de idiomas separados por comas que deseas mostrar en el menú desplegable.

Lista de idiomas disponibles.

https://cloud.google.com/translate/docs/languages?hl=es-419

Resultado:




Comments:

No comments
You need to sign in to comment

Rate

Your rate:
Total: (0 rates)

Next article

Another language?

ZipStoreSlideShow

Accept payments from users with QIWI payment provi...
Inform you about log on user in real time as popup...
Personal clipboard. You can add the links (within ...
Members can Set/Change self "OnLine Status" as: On...
Allow add to your page embed games … This plugi...
Is a landing page  You can change your "Join"...
As admin you can add pages (documents) as manual o...
This patch for Skadate removes the "Profile Edit" ...
For Shop Pro plugin.This plugin requires that you ...
My Messenger plugin is a combination of Yahoo Mess...
Theme for social networks who sell and buy any typ...
Ready for Oxwall 1.8.4 and earlier.The Best way to...