From 90b9be0b592765af8f5fa05938c51ca13d18f1f5 Mon Sep 17 00:00:00 2001 From: Muhammad Dawood <108516589+dawoodb7869@users.noreply.github.com> Date: Tue, 9 Jul 2024 15:20:26 +0500 Subject: [PATCH] add punjabi locale --- next.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 2689a73..82bfe82 100644 --- a/next.config.js +++ b/next.config.js @@ -2,9 +2,14 @@ const withMDX = require('@next/mdx')({ extension: /\.mdx?$/ }) module.exports = withMDX({ pageExtensions: ['js', 'jsx', 'mdx'], i18n: { - locales: ['en', 'es', 'fr', 'zh', 'kr', 'tr', 'hin', 'pl', 'el', 'ms', 'bn', 'ur' , 'th', 'de', 'vi', 'rw', 'ja'], + locales: ['en', 'es', 'fr', 'zh', 'kr', 'tr', 'hin', 'pl', 'el', 'ms', 'bn', 'ur' , 'th', 'de', 'vi', 'rw', 'ja', 'pa'], defaultLocale: 'en', domains: [ + { + domain: 'pa.hackclub.com', + defaultLocale: 'pa', + http: true + }, { domain: 'hackclub.es', defaultLocale: 'es',