Scriptoria – Auto Translate EN to ES

Description

Scriptoria es un plugin de traducción automática para WordPress diseñado para ser seguro, eficiente y respetuoso con el contenido original. Utiliza la API de Google Translate para traducir el contenido de tu web al español para los visitantes cuyo navegador esté en ese idioma.

Características Principales:

  • Traducción Automática: Detecta si el navegador del visitante está en español y traduce dinámicamente el contenido.
  • Detección de Contenido Dinámico: Gracias a la tecnología MutationObserver, traduce automáticamente el texto que aparece en pop-ups, acordeones, y más, después de la carga inicial de la página.
  • Caché Inteligente: Almacena las traducciones para reducir drásticamente las llamadas a la API, ahorrando costos y mejorando la velocidad.
  • Seguridad Integrada: Incluye límites de peticiones (rate limiting) por IP para prevenir abusos y controlar los costos de la API.
  • Optimizado para Elementor: Identifica y traduce correctamente los widgets de texto más comunes de Elementor.
  • Ligero y Eficiente: El script solo se carga para visitantes reales (no bots) y fuera del editor de Elementor para no afectar el rendimiento.

External services

This plugin connects to the Google Translate API to provide translation services. This is essential for the plugin’s core functionality.

  • Service Used: Google Translate API.
  • Data Sent: The text content of your website is sent to the API for translation when a visitor with a Spanish browser language is detected.
  • Google’s Policies: You can review their terms of service and privacy policy here:
    • Terms of Service: https://cloud.google.com/terms
    • Privacy Policy: https://policies.google.com/privacy

Installation

  1. Sube la carpeta scriptoria-auto-translate-en-to-es al directorio /wp-content/plugins/.
  2. Activa el plugin a través del menú ‘Plugins’ en WordPress.
  3. Ve a Ajustes > Scriptoria.
  4. Introduce tu API Key de Google Cloud Translate y guarda los cambios.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Scriptoria – Auto Translate EN to ES” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.1

  • Security: Added sanitization for nonce verification as recommended by WordPress plugin review team.
  • Security: Improved sanitization for text content received via AJAX.
  • Security: Added sanitization for server variables when retrieving client IP.
  • Fix: Replaced inline admin styles with a properly enqueued stylesheet (admin_enqueue_scripts).
  • Fix: Corrected plugin main filename and removed unnecessary ‘Domain Path’ header.
  • Docs: Added disclosure for the use of the external Google Translate API service in the readme file.
  • Docs: Updated readme tags and short description to meet WordPress.org standards.

1.1.0

  • Major Improvement: Implemented server-side caching (transients) to reduce API calls and costs.
  • Major Improvement: Replaced the click-based dynamic content detector with a much more robust MutationObserver.
  • Tweak: The script now marks translated elements to prevent re-processing, significantly improving performance on dynamic pages.
  • Tweak: Added automatic retries for failed translation network requests.

1.0.8

  • Add: Compatibility for Elementor’s Price Table widget text elements.
  • Tweak: Minor code improvements.

1.0.7

  • Lanzamiento inicial del plugin.