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
So far I have not been able to translate plural statements like for example: $t('{count} car ::: {count} cars', {count: count},count)
How should my key-value pair look in the translation variable? I can't seem to find any information on this in the documentation. This is how my translation variable from English to Danish would initially look by looking at the docs, but nothing is being translated:
Apparently the description in the readme is not very clear. I will update the description in the coming days.
// using the translation directly (as specified in the current readme){{$t('You have {count} new message ::: You have {count} new messages',{count: 5},5)}}// using a key to lookup the translations{{$t('mykey',{count: 5},5)}}consttranslations{'mykey': 'You have {count} new message ::: You have {count} new messages'}// alternative specification with array for translationsconsttranslations{'mykey': ['You have {count} new message','You have {count} new messages']}
Hello!
So far I have not been able to translate plural statements like for example:
$t('{count} car ::: {count} cars', {count: count},count)
How should my key-value pair look in the translation variable? I can't seem to find any information on this in the documentation. This is how my translation variable from English to Danish would initially look by looking at the docs, but nothing is being translated:
The text was updated successfully, but these errors were encountered: