Scriptoria – Auto Translate EN to ES

설명

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

설치

  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.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Scriptoria – Auto Translate EN to ES”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Scriptoria – Auto Translate EN to ES”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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.