2023-07-08 10:36:02 +02:00
|
|
|
import ja from '@/locales/ja-JP.yml';
|
|
|
|
import en from '@/locales/en-US.yml';
|
|
|
|
|
|
|
|
export default defineI18nConfig(() => ({
|
|
|
|
legacy: false,
|
|
|
|
locale: 'ja',
|
|
|
|
messages: {
|
|
|
|
ja,
|
|
|
|
en,
|
2023-07-10 19:54:13 +02:00
|
|
|
},
|
|
|
|
datetimeFormats: {
|
|
|
|
'en-US': {
|
|
|
|
short: {
|
|
|
|
year: 'numeric', month: 'short', day: 'numeric'
|
|
|
|
},
|
|
|
|
long: {
|
|
|
|
year: 'numeric', month: 'short', day: 'numeric',
|
|
|
|
weekday: 'short', hour: 'numeric', minute: 'numeric'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
'ja-JP': {
|
|
|
|
short: {
|
|
|
|
year: 'numeric', month: 'short', day: 'numeric'
|
|
|
|
},
|
|
|
|
long: {
|
|
|
|
year: 'numeric', month: 'short', day: 'numeric',
|
|
|
|
weekday: 'short', hour: 'numeric', minute: 'numeric', hour12: true
|
|
|
|
}
|
|
|
|
}
|
2023-07-08 10:36:02 +02:00
|
|
|
}
|
|
|
|
}));
|