You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[i18n] ICU plural format - support # and offset #9117
"{num_guests, plural, offset:1 "
"=0 {{host} does not give a party.}"
"=1 {{host} invites {guest} to her party.}"
"=2 {{host} invites {guest} and one other person to her party.}"
"other {{host} invites {guest} and # other people to her party.}}}"
While this is not strictly required because we can use angular expression, it would be nicer for translators.
ICU supprot tools usually don't understand < symbol inside ICU, and if understand they become completele broken when they rich }} inside interpolation tag.
This forces users to search for tool wich is Angular-aware which greatly reduces the choice (i actually didn't find any) or just give up to full ICU syntax and edit it as simple string.
This would be incredibly nice to have, currently translation tool support for angular is not very good and this would help a lot. It's also a lot nicer to write and read in templates.
Additionally when you look at ICU guides they very often mention the # shortcut and it was a bit suprising to me that this didn't work in Angular.
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
Activity
[-][i18n] ICU plural format[/-][+][i18n] ICU plural format - support `#` and `offset`[/+]timofei-iatsenko commentedon Feb 4, 2019
Moreover current interpolation syntax in ICU breaks support of ICU in most of the translation tools.
For example ICU from docs:
Put it to commonly used ICU validator: https://format-message.github.io/icu-message-format-for-translators/editor.html
ICU supprot tools usually don't understand
<symbol inside ICU, and if understand they become completele broken when they rich}}inside interpolation tag.This forces users to search for tool wich is Angular-aware which greatly reduces the choice (i actually didn't find any) or just give up to full ICU syntax and edit it as simple string.
ValentinFunk commentedon Oct 20, 2019
This would be incredibly nice to have, currently translation tool support for angular is not very good and this would help a lot. It's also a lot nicer to write and read in templates.
Additionally when you look at ICU guides they very often mention the # shortcut and it was a bit suprising to me that this didn't work in Angular.
Fix angular/angular#9117
angular-robot commentedon May 21, 2021
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
angular-robot commentedon Jun 10, 2021
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
angular-automatic-lock-bot commentedon Jul 11, 2021
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.