Traductor
Comando traductor para traducir múltiples idiomas desde el chat de Twitch. Solo hace falta configurarlo en vuestro Nightbot o su Streamelements los comandos !es, !en, !it, etc. y la herramienta cambiará cualquier texto al idioma elegido.
URL PRINCIPAL
La petición solo puede ser visualizado desde el Nightbot o StreamElements.
https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local={CODE-LANG}&text={TEXT-LANG}
Parámetros
- token (obligatorio): Token de la cuenta.
- local (obligatorio): código del lenguaje a traducir. Actualmente solo se aceptan los códigos: es (español), en (inglés), fr (francés), it (italia) y de (alemán).
- text (obligatorio): texto que se traducirá según el lenguaje elegido en el parámetro local.
Código nightbot o streamelements
Se puede configurar los siguientes comandos según el idioma deseado:
Comando !es
$(urlfetch https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=es&text=$(querystring $(query)))
{readapi.https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=es&text={1:100}}
Comando !en
$(urlfetch https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=en&text=$(querystring $(query)))
{readapi.https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=en&text={1:100}}
Comando !fr
$(urlfetch https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=fr&text=$(querystring $(query)))
{readapi.https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=fr&text={1:100}}
Comando !it
$(urlfetch https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=fr&text=$(querystring $(query)))
{readapi.https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=fr&text={1:100}}
Comando !de
$(urlfetch https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=de&text=$(querystring $(query)))
{readapi.https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=de&text={1:100}}
Comando !pt
$(urlfetch https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=pt&text=$(querystring $(query)))
{readapi.https://forgamers.es/v1/translate?token={YOUR-TOKEN}&local=pt&text={1:100}}
Ejemplo
Si se usa el comando !es
!es hello
Se tendría de respuesta
hola
Configuración recomendada
Recordar que cualquier duda o sugerencia, pueden ponerse en contacto conmigo a través de mi formulario de contacto o mi cuenta Twitch.