You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/essentials/fallback.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,8 @@ Output:
52
52
By default, falling back to `fallbackLocale` generates two console warnings:
53
53
54
54
```
55
-
[vue-i18n] Not found 'hello' key in 'ja' locale messages.
56
-
[vue-i18n] Fall back to translate 'hello' key with 'en' locale.
55
+
[intlify] Not found 'hello' key in 'ja' locale messages.
56
+
[intlify] Fall back to translate 'hello' key with 'en' locale.
57
57
```
58
58
59
59
The first warning message is printed the key, due to given to the translation function `$t` is not in the `ja` locale messages and the second warning message that comes out when you fall back to resolve localized messages from `en` locale messages. These warning messages are output to support debugging using Vue I18n.
Copy file name to clipboardExpand all lines: docs/essentials/local.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,8 +86,8 @@ As in the example above, if the component doesn’t have the locale message, it
86
86
And also, as explained the [here](fallback#explicit-fallback-with-one-locale), note that, by default, falling back to global scope generates two warnings in the console:
87
87
88
88
```
89
-
[vue-i18n] Not found 'message.greeting' key in 'ja' locale messages.
90
-
[vue-i18n] Fall back to translate 'message.greeting' with root locale.
89
+
[intlify] Not found 'message.greeting' key in 'ja' locale messages.
90
+
[intlify] Fall back to translate 'message.greeting' with root locale.
91
91
```
92
92
93
93
If you want to localize using the component locale, you can do that with `sync: false` and `locale` in the `i18n` component option.
0 commit comments