mirror of
https://github.com/retailcrm/vue-i18n-loader.git
synced 2024-11-25 14:56:04 +03:00
19 lines
320 B
Vue
19 lines
320 B
Vue
<template>
|
|
<div>
|
|
<div data-qa-1>{{ $tc('apples', 1) }}</div>
|
|
<div data-qa-2>{{ $tc('apples', 10) }}</div>
|
|
</div>
|
|
</template>
|
|
|
|
<i18n locale="en_GB">
|
|
{
|
|
"apples": "{count} apple|{count} apples"
|
|
}
|
|
</i18n>
|
|
|
|
<i18n locale="ru_RU">
|
|
{
|
|
"apples": "{count} яблоко|{count} яблок"
|
|
}
|
|
</i18n>
|