Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Unicode BiDi issolation characters #13

Open
alerque opened this issue Sep 27, 2019 · 0 comments
Open

Add Unicode BiDi issolation characters #13

alerque opened this issue Sep 27, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@alerque
Copy link
Owner

alerque commented Sep 27, 2019

For variable substitutions and maybe some other places, we should probably have an option to wrap them as in the Python implementation:

You will notice the extra characters \u2068 and \u2069 in the output. These are Unicode bidi isolation characters that help to ensure that the interpolated strings are handled correctly in the situation where the text direction of the substitution might not match the text direction of the localized text. These characters can be disabled if you are sure that is not possible for your app by passing use_isolating=False to the FluentBundle constructor.

@alerque alerque added the enhancement New feature or request label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant