Open ChristianStornowski opened 5 years ago
I have the same issue. In waiting, this is a simple workaround that desactive fallback warning:
const i18n = new VueI18n({
// skip other options config for briefty
silentFallbackWarn: true
});
I would consider this a bug, not an improvement, because there is no way to solve this issue other than silence the warning.
vue & vue-i18n version
ex: 2.6.10, 8.14.0
Steps to reproduce
<i18n>{"de": {"clockPostfix": "Uhr"}}</i18n>
tag and an template like<template><div>{{ $d(new Date(), 'long', 'de') }} {{ $t('clockPostfix') }}</div></template>
.export default new VueI18n({ ... dateTimeFormats })
new Vue({ i18n, ... });
[vue-i18n] Fall back to 'de' datetime formats from 'de' datetime formats. [vue-i18n] Fall back to datetime localization of root: key 'long'.