Skip to content

Only use Fluent bidi isolation for RTL locales - #279

Merged
jdesrosiers merged 1 commit into
mainfrom
use-isolating
Oct 3, 2026
Merged

jdesrosiers merged 1 commit into
mainfrom
use-isolating

Conversation

@jdesrosiers

Copy link
Copy Markdown
Collaborator

Fluent wraps interpolated values in U+2068/U+2069 isolation marks by default. These are only needed for right-to-left text and otherwise add invisible characters to messages. Each translation now declares its text direction, and isolation is enabled only for "rtl" translations.

These characters are annoying to deal with in tests and aren't invisible in neovim. Only using them when they are needed makes more sense.

Fluent wraps interpolated values in U+2068/U+2069 isolation marks by
default. These are only needed for right-to-left text and otherwise add
invisible characters to messages. Each translation now declares its
text direction, and isolation is enabled only for "rtl" translations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jdesrosiers
jdesrosiers merged commit 575a9e5 into main Oct 3, 2026
2 checks passed
@jdesrosiers
jdesrosiers deleted the use-isolating branch October 3, 2026 22:51
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