Bug Report - Build a Teacher Chatbot: Step 6 (Spanish translation)
URL: https://www.freecodecamp.org/espanol/learn/javascript-v9/workshop-teacher-chatbot/step-6
Description:
The Spanish translation of Step 6 instructs the user to assign the following string (translated to Spanish) to the variable strLengthIntro:
“He aquí un ejemplo de uso de la propiedad length en la palabra [sujeto].”
However, the test validator expects the string in English:
“Here is an example of using the length property on the word [subject].”
This creates a frustrating and misleading experience for Spanish-speaking learners who have no way of knowing the expected output must be in English, as nothing in the Spanish instructions indicates this.
Steps to reproduce:
- Go to the Spanish version of the course
- Follow the instructions literally in Spanish
- The test fails with no clear explanation
- Switching to English reveals the string must be written in English
Expected behavior:
Either the test should accept the Spanish string, or the Spanish instructions should clearly indicate that the string value must be written in English.
Impact:
This is a significant barrier for non-English speakers learning JavaScript through the Spanish interface, as the error appears to be a code mistake rather than a translation inconsistency.