Customize your own 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

OxWallPlus is a variant of OxWall.It has been aban...
There is a new version of this product:https://ows...
Toolbox to edit languages with many possibilities:...
There is a new version of this product:https://ows...
Is a landing page  You can change your "Join"...
As admin you can add pages (documents) as manual o...
There is a new version of this product:https://ows...
OxWallPlus is a variant of OxWall.It has been aban...
This plugin is a section where members can post an...
For Shop Pro plugin.This plugin requires that you ...
If on your website you need to maintain a virtual ...
Personal clipboard. You can add the links (within ...

Recent Adverts