[TSM.ID].[11031972] PXE : Platform X Ecosystem I [118 Module -LIVE-]

This commit is contained in:
TSM.ID
2026-05-25 03:50:05 +07:00
commit e820143b3c
673 changed files with 101320 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
// [TSM.ID].[11031972] -- All Rights Reserved. Proprietary & Confidential.
import { getRequestConfig } from 'next-intl/server';
import { notFound } from 'next/navigation';
export const locales = ['id', 'en'] as const;
export type Locale = (typeof locales)[number];
export default getRequestConfig(async ({ locale }) => {
if (!locales.includes(locale as Locale)) notFound();
return {
locale: locale as string,
messages: (await import(`./messages/${locale}.json`)).default
};
});