feat(i18n): Inclusion of spanish in the repo

pull/128/head
Aitor García Rey 1 year ago
parent 2ab51f6131
commit fa5bd6e637
No known key found for this signature in database
GPG Key ID: 754FDEDB50060BBF

@ -5,7 +5,7 @@ const withNextra = require('nextra')({
module.exports = withNextra({
i18n: {
locales: ['en', 'zh', 'jp', 'pt', 'tr'],
defaultLocale: 'en'
}
locales: ['en', 'zh', 'jp', 'pt', 'tr', 'es'],
defaultLocale: 'en',
},
})

@ -21,6 +21,7 @@ const config: DocsThemeConfig = {
{ locale: 'jp', text: '日本語'},
{ locale: 'pt', text: 'Português' },
{ locale: 'tr', text: 'Türkçe' },
{ locale: 'es', text: 'Español' },
],
head: function UseHead() {
const { title } = useConfig()

Loading…
Cancel
Save