Skip to content

Commit f07e227

Browse files
committed
Translations now show correctly
1 parent 8e2e91a commit f07e227

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/boot/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { defineBoot } from '#q-app/wrappers';
44
// You'll need to create the src/i18n/index.js/.ts file too
55

66
const i18n = createI18n({
7-
locale: 'en-US',
7+
locale: 'en',
88
globalInjection: true,
99
allowComposition: true,
1010
legacy: false,

src/i18n/en-us/index.ts renamed to src/i18n/en/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Message } from '../index';
66
export default {
77
metadata: {
88
name: 'English',
9-
locale: 'enUS'
9+
locale: 'en'
1010
},
1111
translations: {
1212
pages: {

src/i18n/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import enUS from './en-us';
1+
import enUS from './en';
22

33
export default {
4-
'en-us': enUS,
4+
'en': enUS,
55
};
66

77
// TODO - Use for language selection screens

0 commit comments

Comments
 (0)