Skip to content

feat(ai): support translating question and answer drafts - #1611

Merged
LinkinStars merged 9 commits into
apache:devfrom
hgaol:translate
Nov 18, 2026
Merged

LinkinStars merged 9 commits into
apache:devfrom
hgaol:translate

Conversation

@hgaol

@hgaol hgaol commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

What changed

  • Add an AI translation endpoint for question and answer draft content.
  • Add translation controls to question and answer editors.
  • Preserve Markdown and other structured content through the translation prompt.
  • Add an administrator setting to enable or disable translation.
  • Default translation to enabled for existing installations.
  • Expose translation availability through site information.
  • Add localized English and Chinese strings.
  • Add tests for parsing, provider errors, configuration defaults, and translation requests.

screenshot
image

image

Closes #1610

@LinkinStars
LinkinStars self-requested a review September 14, 2026 06:49
@LinkinStars LinkinStars self-assigned this Sep 14, 2026
@fenbox

fenbox commented Sep 22, 2026

Copy link
Copy Markdown
Member
image

The button size should be 24x24, with the icon centered.

@hgaol

hgaol commented Sep 22, 2026

Copy link
Copy Markdown
Member Author

Hi @fenbox , updated and deployed. Pls take a look. thanks!

@fenbox

fenbox commented Sep 23, 2026

Copy link
Copy Markdown
Member

Looks good to me now, great.

@LinkinStars LinkinStars added this to the v2.0.4 milestone Oct 10, 2026
@LinkinStars
LinkinStars merged commit 4397606 into apache:dev Nov 18, 2026
1 check passed
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.

3 participants