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
In Message Format Syntax, you can use Named interpolation ({count}) and List Interpolation ({0}), but not Implicit Interpolation. Implicit Interpolation ({n}) can only be used with Plurizalization.
Techncally, you can use Implicit Interpolation ({n}) without Plurizalization, but only if n is a Number, not if it's a String.
Reporting a bug?
Not sure if this is a bug, or a feature request.
Since
$tc
has been deprecated, there is very little difference between Message Format Syntax and Plurialization.In Message Format Syntax, you can use Named interpolation (
{count}
) and List Interpolation ({0}
), but not Implicit Interpolation. Implicit Interpolation ({n}
) can only be used with Plurizalization.Techncally, you can use Implicit Interpolation (
{n}
) without Plurizalization, but only ifn
is a Number, not if it's a String.Maybe there is a good reason for it, and I don't see it, or maybe Message Format could be made to support Implicit Interpolation (
{n}
) with a String.Expected behavior
Reproduction
https://stackblitz.com/edit/vitejs-vite-saeaemxg?file=src%2FApp.vue
System Info
Screenshot
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: