feat(i18n): adding spanish to language selector (#266)

This commit is contained in:
Cesar Gomez 2022-12-01 02:41:59 -05:00 committed by GitHub
parent a28f14cb70
commit 2b46bd5a15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 5 deletions

View file

@ -104,6 +104,11 @@ export default defineNuxtConfig({
file: 'ja-JP.json',
name: '日本語',
},
{
code: 'es-ES',
file: 'es-ES.json',
name: 'Español',
},
].sort((a, b) => a.code.localeCompare(b.code)),
strategy: 'no_prefix',
detectBrowserLanguage: false,