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
It seems like translate-plural doesn't work in combination with <translate>, the following code snippet, from your documentation, does not seem to work.
while <li v-translate="{ count: cars }" translate-plural="%{count} cars" :translate-n="cars">%{count} car</li> works as expected.
Edit I realize now that this might be an underlying bug with count not being treated as it should. If I add the option translate-params, then it works correctly, which is the same thing I'm doing in the v-translate example, specifically defining count.
Hello,
It seems like
translate-plural
doesn't work in combination with<translate>
, the following code snippet, from your documentation, does not seem to work.<translate :translate-n="cars" translate-plural="%{ count } cars">%{ count } car</translate>
outputscount cars
while
<li v-translate="{ count: cars }" translate-plural="%{count} cars" :translate-n="cars">%{count} car</li>
works as expected.Edit I realize now that this might be an underlying bug with
count
not being treated as it should. If I add the optiontranslate-params
, then it works correctly, which is the same thing I'm doing in the v-translate example, specifically defining count.The following works
The text was updated successfully, but these errors were encountered: