We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e2e91a commit f07e227Copy full SHA for f07e227
src/boot/i18n.ts
@@ -4,7 +4,7 @@ import { defineBoot } from '#q-app/wrappers';
4
// You'll need to create the src/i18n/index.js/.ts file too
5
6
const i18n = createI18n({
7
- locale: 'en-US',
+ locale: 'en',
8
globalInjection: true,
9
allowComposition: true,
10
legacy: false,
src/i18n/en-us/index.ts renamed to src/i18n/en/index.ts
@@ -6,7 +6,7 @@ import { Message } from '../index';
export default {
metadata: {
name: 'English',
- locale: 'enUS'
+ locale: 'en'
},
11
translations: {
12
pages: {
src/i18n/index.ts
@@ -1,7 +1,7 @@
1
-import enUS from './en-us';
+import enUS from './en';
2
3
- 'en-us': enUS,
+ 'en': enUS,
};
// TODO - Use for language selection screens
0 commit comments