From 1783dae12180569fbc8c015c4c596ef58469763e Mon Sep 17 00:00:00 2001 From: Mihai C <34626017+mihaic195@users.noreply.github.com> Date: Thu, 14 Oct 2021 15:26:11 +0300 Subject: [PATCH] add es-419 (#944) --- lib/core/i18n/i18n.utils.ts | 1 + next-i18next.config.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core/i18n/i18n.utils.ts b/lib/core/i18n/i18n.utils.ts index fcb2eb1771bc48..821ba3038b942a 100644 --- a/lib/core/i18n/i18n.utils.ts +++ b/lib/core/i18n/i18n.utils.ts @@ -59,6 +59,7 @@ export const localeLabels: localeType = { ro: "Romanian", nl: "Dutch", "pt-BR": "Portuguese (Brazilian)", + "es-419": "Spanish, Latin America", }; export type OptionType = { diff --git a/next-i18next.config.js b/next-i18next.config.js index d88f3fa2ce414f..f42b23ebde51f3 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -4,7 +4,7 @@ const path = require("path"); module.exports = { i18n: { defaultLocale: "en", - locales: ["en", "fr", "it", "ru", "es", "de", "pt", "ro", "nl", "pt-BR"], + locales: ["en", "fr", "it", "ru", "es", "de", "pt", "ro", "nl", "pt-BR", "es-419"], }, localePath: path.resolve("./public/static/locales"), };