Skip to content

fix: sync html lang with user locale for spellcheck - #2165

Merged
Philipinho merged 1 commit into
docmost:mainfrom
daysus:fix/html-lang-spellcheck
May 8, 2026
Merged

Philipinho merged 1 commit into
docmost:mainfrom
daysus:fix/html-lang-spellcheck

Conversation

@daysus

@daysus daysus commented May 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update the client to keep the document <html lang> attribute in sync with the active i18n language.
  • This ensures browser spellcheck uses the selected interface/user locale instead of staying on English.

Fixes #1663

Testing

  • pnpm exec nx run client:build

@Philipinho
Philipinho merged commit 5d8c11e into docmost:main May 8, 2026
1 check passed
@Philipinho

Copy link
Copy Markdown
Member

Thanks for contributing.

Yundi339 pushed a commit to Yundi339/docmost that referenced this pull request Jun 18, 2026
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.

Bug: HTML language static in English affects spell checking

2 participants