From ab13caf27d6e2697c12db4145ff69f1833e8f0a9 Mon Sep 17 00:00:00 2001 From: Aiji Uejima Date: Mon, 8 Jan 2024 17:30:00 +0900 Subject: [PATCH] Update next-i18next.config.js --- .../with-next-i18next/next-i18next.config.js | 43 ++++++++++--------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/examples/with-next-i18next/next-i18next.config.js b/examples/with-next-i18next/next-i18next.config.js index bb9d086..61c7feb 100644 --- a/examples/with-next-i18next/next-i18next.config.js +++ b/examples/with-next-i18next/next-i18next.config.js @@ -5,36 +5,37 @@ const path = require("path"); module.exports = { i18n: { defaultLocale: "en", + // Please ensure the locales are listed in alphabetical order. locales: [ + "ar", + "bg", + "cs", + "de", "en", - "he", - "ko", - "ja", + "es", + "fa", + "fi", "fr", - "ar", - "pt", - "zh-CN", - "zh-TW", + "he", + "hr-HR", + "id", "is", - "es", - "nl", - "sv", - "nb", - "de", "it", - "tr", - "pl", + "ja", + "ko", "lt", - "ru", + "nb", + "nl", + "pl", + "pt", "ro", + "ru", + "sv", + "tr", "uk-UA", "uz", - "hr-HR", - "fi", - "cs", - "id", - "bg", - "fa", + "zh-CN", + "zh-TW", ], }, localePath: path.resolve("./public/locales"),