- Expand en.ts/zh.ts with extensive translation keys for all modules - Localize Peers table, peer detail page, peer action cells - Localize Access Control table, modal, action cells - Localize Groups table, action cells, main page - Add common helpers (GroupsRow, NoPeersGettingStarted) translations Continuation of the localization effort.
20 lines
488 B
JavaScript
20 lines
488 B
JavaScript
const createNextIntlPlugin = require('next-intl/plugin');
|
|
|
|
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts');
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: "export",
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
reactStrictMode: false,
|
|
env: {
|
|
APP_ENV: process.env.APP_ENV || "production",
|
|
NEXT_PUBLIC_DASHBOARD_VERSION:
|
|
process.env.NEXT_PUBLIC_DASHBOARD_VERSION || "development",
|
|
},
|
|
};
|
|
|
|
module.exports = withNextIntl(nextConfig);
|