Skip to content

Conversation

david-a-wheeler
Copy link
Contributor

When Chrome is presented with a natural language, it can offer to translate the HTML page. Unfortunately, this caused labs to fail.

This commit modifies to code to work around this, so that after translation the lab continues to work.
The explanation about the lab is translated.
Unfortunately, this does not translate the responses shown via alert boxes (e.g., hints and congrats).
However, since the lab now works, users can copy that text into something to do a translation.

This commit makes the labs much more accessible to those who speak natural languages we don't currently have translations for.

When Chrome is presented with a natural language, it
can offer to translate the HTML page. Unfortunately,
this caused labs to fail.

This commit modifies to code to work around this, so
that after translation the lab continues to work.
The explanation about the lab is translated.
Unfortunately, this does *not* translate the responses
shown via alert boxes (e.g., hints and congrats).
However, since the lab now *works*, users can copy that text
into something to do a translation.

This commit makes the labs much more accessible to those
who speak natural languages we don't currently have
translations for.

Signed-off-by: David A. Wheeler <[email protected]>
@david-a-wheeler david-a-wheeler merged commit 43cbb7f into main Jan 30, 2025
4 checks passed
@david-a-wheeler david-a-wheeler deleted the fix_browser_translation branch January 30, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant