0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

chore: more missings redirect for languages and enable zh-cn was missing

This commit is contained in:
Juan Picado 2021-07-30 08:44:34 +02:00
parent 668bbd0955
commit 42d08eb423
2 changed files with 14 additions and 0 deletions

View file

@ -14,6 +14,7 @@ const i18nConfig = {
"pt-BR", "ru-RU", "pt-BR", "ru-RU",
"sr-CS", "vi-VN", "sr-CS", "vi-VN",
"yo-NG", "zh-TW", "yo-NG", "zh-TW",
"zh-CN"
], ],
localeConfigs: { localeConfigs: {
ar: { ar: {

View file

@ -1,2 +1,15 @@
/docs/en/docker.html /docs/docker 301 /docs/en/docker.html /docs/docker 301
/docs/en/* /docs/:splat /docs/en/* /docs/:splat
/docs/cs-CZ/* /cs-cz/docs/:splat
/docs/de-DE/* /de-de/docs/:splat
/docs/es-ES/* /es-es/docs/:splat
/docs/fr-FR/* /fr-fr/docs/:splat
/docs/it-IT/* /it-it/docs/:splat
/docs/pl-PL/* /pl-pl/docs/:splat
/docs/pt-BR/* /pt-br/docs/:splat
/docs/ru-RU/* /ru-ru/docs/:splat
/docs/sr-CS/* /sr-cs/docs/:splat
/docs/yo-NG/* /yo-NG/docs/:splat
/docs/vi-VN/* /vi-vn/docs/:splat
/docs/zh-TW/* /zh-tw/docs/:splat
/docs/zh-CN/* /zh-cn/docs/:splat