Buscando la forma de internacionalizar este blog, encontre GENGO; es un plugin muy completo para WordPress que hace tu blog multilingüe. Esto puede ser útil para que tus artículos se lean en varios idiomas, ó para publicar un blog entre gente con varios lenguajes nativos.
Las características cumplidas por la versión 0.9 de Gengo son:
Capacidad ilimitada de lenguajes.
Para publicar artículos en cualquiera de los lenguajes.
Posibilidad de desinstalación total (a nivel de base de datos).
Asociar artículos como traducciones unos de otros.
Posibilidad de traducir categorías y pequeños fragmentos de texto.
Instalación
Se recomienda hacer una copia de seguridad de la base de datos que contiene vuestro blog, esto es debido a que se van a añadir tablas para soportar las características de Gengo.
Descargamos la última versión del fichero gengo.zip de la web ó directamente, en mi caso estoy instalando la 0.9.
Copiamos el directorio /gengo al de plugins de nuestro blog: wp-content/plugins/. Ojo con los permisos.
Copiamos el fichero de traducción al castellano gengo-0.9-es_ES.mo en /wp-content/plugins/gengo/gengo-es_ES.mo.
Activamos el plugin en la pantalla de Plugins de la parte de Administración de WorPress.
Añade tantos lenguajes como desees utilizar en la pantalla de administración de Gengo. El primero debe ser el predeterminado de tu blog.
Utilización
En el menú de administración de Gengo tenemos varias pestañas:
Lenguajes: Aquí podemos definir todos los lenguajes que podremos utilizar en nuestro blog.
Traducciones: Asociamos grupos de artículos como traducciones.
Sinónimos: Traducción de categorias, y fragmentos de texto.
Exclusiones: Filtros para cyas URLs Gengo no debe añadir la coleta de lenguaje.
Tenemos uno de esos plugins AJAX de la pantalla de edición:
gengo.02.JPG13.9 KB
Que nos sirve para definir el lenguaje del artículo, y en su caso para defiirlo dentro de un Grupo de Traducciones.
Finalmente, y una vez asociados ambos podemos ver las traducciones:
Finalmente tenemos la pila de funciones que vienen incluidas para las plantillas gengo_template_functions.php, que es lo que más juego va a dar.
Mi traducción al Castellano
Como siempre, es un placer colaborar con gente que libera su código, agradeciendo las ventajas que nos proporcionan con sus programas. Así que haré la traducción al Castellano.
Con el programa poEdit (editor de ficheros de traducción de extensión .po), abrimos el fichero gengo.pot como "Nuevo catálogo desde un archivo POT ...", y traducimos frase por frase.
De forma que aquí teneis los ficheros de la traducción gengo-09-es_ES.zip.
Searching for the way to internazinalice this blog, I found GENGO; it is a cool WordPress plugin, that makes multilingual your blog.
This can be useful to translate your posts to various languages, or to publish a blog with other languages and countries people.
Gengo 0.9 have the following features:
Using all languages you can.
Publishing posts in any language you set.
Totally uninstalling posibility (Data base level).
Gouping posts as translations of others.
Translatig categories and Snipplets.
Installation
Strongly recommended make a backup of your database, due to the installation wil modify th database to support Gengo's features.
Download the klast version of gengo.zip file form web or directly; I am installing 0.9 version.
Copy the directory /gengo to the plugins directory of your blog: wp-content/plugins/. Be carefull with the permissions.
Copy the spanish translation file gengo-0.9-es_ES.mo in /wp-content/plugins/gengo/gengo-es_ES.mo.
Activate the plugin at Plugin screen.
Add all languages that you need in Gengo administration screen. First, add your blog default language.
Use
In the Gengo administration tab, we have any subtabs:
Languages: Here we set all the languages which we would use in our blog.
Translations: We have defined the posts translation groups.
Sinonyms: Translation of categories and snipplets.
Exclusions: Filter where we can define which URLs we do not want Gengo puts the language tags.
In the edition screen we have an AJAX widget to manage Gengo:
gengo.02.JPG13.9 KB
We can use it to set the post language, and the Translation Group if we nweed.
This is an example of Translation Group, my first post:
Finally, we have the function library for the templates, which we can add Gengo funcionality in our Wordpress theme: gengo_template_functions.php.
My contribution to Gengo: Spanish translation
Allways is a pleasure collab with open source coders, thanking the advantages that they give us. Then I will make the Spanish translation.
With the poEdit software (a file translation editoreditor with extension .po), open the gengo.pot file as "New catalog from POT file...", then we can translate.
Here you can download translation files: gengo-09-es_ES.zip.
We are going to install a OpenLDAP server in Debian Etch ditribution.
LDAP (Lightweight Directory Access Protocol) is a directory service hierachy and ditributed, where we can store many information as users, passwords, permisions, cetifications,....
Installation:
Apt adds more packages: libltdl3 (wrappers using library), libperl (perl), libslp1(OpenSLP Networ Sevices localization protocol).
elite:~# apt-get install slapd ldap-utils
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Se instalarán los siguientes paquetes extras:
libiodbc2 libldap-2.3-0 libltdl3 libperl5.8 libslp1 psmisc
Paquetes sugeridos:
slpd openslp-doc
Paquetes recomendados
libsasl2-modules
Se instalarán los siguientes paquetes NUEVOS:
ldap-utils libiodbc2 libldap-2.3-0 libltdl3 libperl5.8 libslp1 psmisc slapd
0 actualizados, 8 se instalarán, 0 para eliminar y 1 no actualizados.
Necesito descargar 2582kB de archivos.
Se utilizarán 6722kB de espacio de disco adicional después de desempaquetar.
Configuration:
Ask for the passord for administrator user of the LDAP repository (admin).
Ask for your domain name, my domain: lebrijo.com
If we want fill a log for the pettions to our directory; in the file /etc/ldap/slapd.conf you must write: loglevel 8
Redirect LDAP's log entries to separated file; in the file /etc/syslog.conf, uncomment (or write) the line local4.* /var/log/ldap. This action is for not overload our syslog.
In the future we will see how to install an administrative web-tool called phpLDAPadmin, for a remote and comfortable administration of our LDAP directory.
If you want to study in depth this subject, follow the link in the table:
Origin
http://www.openldap.org/
Repository
http://www.openldap.org/software/download/
Package
apt 2.3.30-5
Documentation (Spanish)
http://bulma.net/body.phtml?nIdNoticia=1991
Documentation (English)
http://www.openldap.org/
Files
Configuration: /etc/ldap/slapd.conf
Working directory: /var/lib/ldap
Daemon manage script: /etc/init.d/slapd
Log: /var/log/ldap
Ports
389 TCP/UDP
LDAP-SSL: 636 TCP/UDP