easy-i18n icon indicating copy to clipboard operation
easy-i18n copied to clipboard

Support vue custom blocks

Open KaelWD opened this issue 5 months ago • 0 comments

vue-i18n supports either one block with all languages or a block for each language with a locale attribute.

<script></script>
<template></template>
<i18n>
{
  "en": {
    "hello": "hello world!"
  },
  "ja": {
    "hello": "こんにちは、世界!"
  }
}
</i18n>
<script></script>
<template></template>
<i18n locale="en">
{
  "hello": "hello world!"
}
</i18n>
<i18n locale="ja">
{
  "hello": "こんにちは、世界!"
}
</i18n>

KaelWD avatar Sep 19 '24 11:09 KaelWD