Skip to content

fix(Authoring Tool): Fix HTML auto translation - #374

Merged
hirokiterashima merged 18 commits into
developfrom
auto-translate-html
Nov 23, 2026
Merged

hirokiterashima merged 18 commits into
developfrom
auto-translate-html

Conversation

@Aaron-Detre

@Aaron-Detre Aaron-Detre commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Translation controller now accepts a content type to determine whether to send Amazon Translate requests for text or "document" translation. Text is still the default, but HTML now uses document translation.
    • This allows HTML to be translated to or from English, but it doesn't support translation between two non-English languages.
  • Translate WISE link-text attributes while preserving the surrounding HTML and other attributes.
    • This adds a 2nd Amazon Translate request for HTML containing WISE links.

Test

Note

I branched off of my branch for Remove Birthdays before that was merged in, so the commits from that are showing up here. These are the only commits relevant to this PR:

  1. Add HTML translation suggestions
  2. Translate link-text attributes in HTML suggestions

Aaron-Detre and others added 18 commits October 24, 2026 15:41
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ignore legacy birth fields in student account registration and add coverage for password, Google, and Microsoft flows without birthdays.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reject legacy birthday columns before creating accounts, and import students without birthdays using the current layout.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Aaron-Detre Aaron-Detre self-assigned this Nov 21, 2026
@Aaron-Detre Aaron-Detre added the bug Something isn't working label Nov 21, 2026
@Aaron-Detre Aaron-Detre added the enhancement New feature or request label Nov 21, 2026
@Aaron-Detre
Aaron-Detre marked this pull request as ready for review November 21, 2026 01:22

@hirokiterashima hirokiterashima left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hirokiterashima
hirokiterashima merged commit 0c0bfa4 into develop Nov 23, 2026
2 checks passed
@hirokiterashima
hirokiterashima deleted the auto-translate-html branch November 23, 2026 23:49
@hirokiterashima

Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.28.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants