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

Angular: single and double quote are filtered out on localization interpolation #20681

Closed
1 task done
puschie286 opened this issue Aug 29, 2024 · 0 comments · Fixed by #20766
Closed
1 task done

Angular: single and double quote are filtered out on localization interpolation #20681

puschie286 opened this issue Aug 29, 2024 · 0 comments · Fixed by #20766

Comments

@puschie286
Copy link

puschie286 commented Aug 29, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description

Single and double quotes are removed around value marker in localization string.

We want to mark/highlight dynamic values in localized text like: "You email 'Welcome to the team' has been sent". This is especially important when the sentence structure is different in other languages.

Currently all the following localization strings produce the same output:
"The name {0} is already used"
"The name '{0}' is already used"
"The name \"{0}\" is already used"

Our workaround is manually add the ' or " around the value before interpolation, but it should be a localization detail.

note: interpolation function

Version

8.1.3

User Interface

Angular

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

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

Successfully merging a pull request may close this issue.

2 participants