mirror of
https://github.com/retailcrm/vue-i18n-loader.git
synced 2024-11-29 08:46:04 +03:00
20 lines
278 B
Vue
20 lines
278 B
Vue
|
<template>
|
||
|
<i18n tag="div" path="hello">
|
||
|
<b>{{ $t('world') }}</b>
|
||
|
</i18n>
|
||
|
</template>
|
||
|
|
||
|
<i18n locale="en_GB">
|
||
|
{
|
||
|
"hello": "Hello, {0}!",
|
||
|
"world": "world"
|
||
|
}
|
||
|
</i18n>
|
||
|
|
||
|
<i18n locale="ru_RU">
|
||
|
{
|
||
|
"hello": "Привет, {0}!",
|
||
|
"world": "мир"
|
||
|
}
|
||
|
</i18n>
|