feat(i18n): Inclusion of spanish in the repo
parent
2ab51f6131
commit
fa5bd6e637
|
@ -5,7 +5,7 @@ const withNextra = require('nextra')({
|
||||||
|
|
||||||
module.exports = withNextra({
|
module.exports = withNextra({
|
||||||
i18n: {
|
i18n: {
|
||||||
locales: ['en', 'zh', 'jp', 'pt', 'tr'],
|
locales: ['en', 'zh', 'jp', 'pt', 'tr', 'es'],
|
||||||
defaultLocale: 'en'
|
defaultLocale: 'en',
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -21,6 +21,7 @@ const config: DocsThemeConfig = {
|
||||||
{ locale: 'jp', text: '日本語'},
|
{ locale: 'jp', text: '日本語'},
|
||||||
{ locale: 'pt', text: 'Português' },
|
{ locale: 'pt', text: 'Português' },
|
||||||
{ locale: 'tr', text: 'Türkçe' },
|
{ locale: 'tr', text: 'Türkçe' },
|
||||||
|
{ locale: 'es', text: 'Español' },
|
||||||
],
|
],
|
||||||
head: function UseHead() {
|
head: function UseHead() {
|
||||||
const { title } = useConfig()
|
const { title } = useConfig()
|
||||||
|
|
Loading…
Reference in New Issue