Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Enable message extraction in Next.js configuration and update localization files with new keys for various languages. This change enhances the internationalization support by adding placeholders for missing translations, ensuring a more complete user experience across the application.

Bill Yangaa404bacd89e
diff --git a/client/next.config.ts b/client/next.config.ts
index faa69b5a5..1f15b9500 100644
--- a/client/next.config.ts
+++ b/client/next.config.ts
@@ -4,6 +4,7 @@ import createNextIntlPlugin from "next-intl/plugin";
const withNextIntl = createNextIntlPlugin({
experimental: {
srcPath: "./src",
+ extract: true,
messages: {
sourceLocale: "en",
path: "./messages",