vue-i18n
vue-i18n copied to clipboard
Custom separators not use .
This is a feature request.
// definition
const messages = {
en: {
message: {
hello: 'hello world'
}
},
}
// use
<p>{{ $t("message.hello") }}</p>
Now use . segmentation.I'd like to replace . with Other characters.
For example:
<p>{{ $t("message:hello") }}</p>
This sounds like a duplication of https://github.com/kazupon/vue-i18n/issues/710 🤔
@snowchenlei
I think custom separator support requires huge efforts.
How about escaping, like message\\.hello or such, as suggested in #710 ?
now,I deleted key ending. character.
That's right.
This demand is not very urgent at the present time
+1
+1