Skip to content

Commit

Permalink
Directly enable the es-variants, remove the old one
Browse files Browse the repository at this point in the history
  • Loading branch information
diox committed Jan 10, 2025
1 parent 18f8deb commit b1e4149
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5,011 deletions.
7 changes: 6 additions & 1 deletion config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ module.exports = {
'en-CA',
'en-GB',
'en-US',
'es',
'es-AR',
'es-CL',
'es-ES',
'es-MX',
'et',
'eu',
'fa',
Expand Down Expand Up @@ -261,13 +264,15 @@ module.exports = {
hrefLangsMap: {
'x-default': 'en-US',
en: 'en-US',
es: 'es-ES',
pt: 'pt-PT',
},
// Map of langs, usually short to longer ones but can also be used to
// redirect long langs to shorter ones.
langMap: {
'bn-BD': 'bn',
en: 'en-US',
es: 'es-ES',
ga: 'ga-IE',
pt: 'pt-PT',
sv: 'sv-SE',
Expand Down
Loading

0 comments on commit b1e4149

Please sign in to comment.