feat(i18n): Add Japanese locale (#228)

This commit is contained in:
Ryō Igarashi 2022-11-29 21:51:07 +09:00 committed by GitHub
parent 1d7a9158e4
commit b0f0b958ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 99 additions and 0 deletions

View file

@ -87,6 +87,11 @@ export default defineNuxtConfig({
file: 'zh-CN.json',
name: '简体中文',
},
{
code: 'ja-JP',
file: 'ja-JP.json',
name: '日本語',
},
].sort((a, b) => a.code.localeCompare(b.code)),
strategy: 'no_prefix',
detectBrowserLanguage: false,