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
@@ -53,13 +64,14 @@ See [the rule list](../rules/)
53
64
54
65
### `settings['vue-i18n']`
55
66
56
-
-`localeDir` ... You can specify a string or an object.
67
+
-`localeDir` ... You can specify a string or an object or an array.
57
68
- String option ... A glob for specifying files that store localization messages of project.
58
69
- Object option
59
70
-`pattern` (`string`) ... A glob for specifying files that store localization messages of project.
60
71
-`localeKey` (`'file' | 'key'`) ... Specifies how to determine the locale for localization messages.
61
72
-`'file'` ... Determine the locale name from the filename. The resource file should only contain messages for that locale. Use this option if you use `vue-cli-plugin-i18n`. This option is also used when String option is specified.
62
73
-`'key'` ... Determine the locale name from the root key name of the file contents. The value of that key should only contain messages for that locale. Used when the resource file is in the format given to the `messages` option of the `VueI18n` constructor option.
74
+
- Array option ... An array of String option and Object option. Useful if you have multiple locale directories.
0 commit comments