Skip to content

Add public site i18n support#398

Open
ischanx wants to merge 4 commits into
Openpanel-dev:mainfrom
ischanx:feat-public-i18n
Open

Add public site i18n support#398
ischanx wants to merge 4 commits into
Openpanel-dev:mainfrom
ischanx:feat-public-i18n

Conversation

@ischanx

@ischanx ischanx commented Jun 21, 2026

Copy link
Copy Markdown

Summary

  • move public content under locale-specific directories and wire the public app through next-intl locale routing
  • add Simplified Chinese and Traditional Chinese localized content for docs, articles, guides, comparisons, features, and public pages
  • localize public navigation/supporter surfaces and move compare-content validation into a public app script

Verification

  • pnpm --filter public typecheck
  • pnpm --filter public build
  • pnpm --filter public check:compare-content

@CLAassistant

CLAassistant commented Jun 21, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@coderabbitai

coderabbitai Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 300 files, which is 150 over the limit of 150.

To get a review, narrow the scope:
• coderabbit review --type committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

Upgrade to a paid plan to raise the limit.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 27762577-ca9b-4057-80e6-4700ba4a9360

📥 Commits

Reviewing files that changed from the base of the PR and between 241d259 and dc5d6e3.

📒 Files selected for processing (300)
  • apps/public/components/sections/supporter-perks.tsx
  • apps/public/content/compare/ensure.ts
  • apps/public/content/en/articles/.cursorrules
  • apps/public/content/en/articles/better-compliance-self-hosted-analytics.mdx
  • apps/public/content/en/articles/bullmq-alternative.mdx
  • apps/public/content/en/articles/cohort-analysis.mdx
  • apps/public/content/en/articles/cookieless-analytics.mdx
  • apps/public/content/en/articles/how-to-create-a-funnel.mdx
  • apps/public/content/en/articles/how-to-export-data-from-umami.mdx
  • apps/public/content/en/articles/how-to-secure-ubuntu-server.mdx
  • apps/public/content/en/articles/how-to-self-host-openpanel.mdx
  • apps/public/content/en/articles/introduction-to-openpanel.mdx
  • apps/public/content/en/articles/mixpanel-alternatives.mdx
  • apps/public/content/en/articles/mixpanel-pricing.mdx
  • apps/public/content/en/articles/open-source-web-analytics.mdx
  • apps/public/content/en/articles/read-after-write-concistency.mdx
  • apps/public/content/en/articles/recap-2024.mdx
  • apps/public/content/en/articles/self-hosted-product-analytics.mdx
  • apps/public/content/en/articles/self-hosted-web-analytics.mdx
  • apps/public/content/en/compare/ackee-alternative.json
  • apps/public/content/en/compare/amplitude-alternative.json
  • apps/public/content/en/compare/appsflyer-alternative.json
  • apps/public/content/en/compare/cabin-analytics-alternative.json
  • apps/public/content/en/compare/countly-alternative.json
  • apps/public/content/en/compare/crazy-egg-alternative.json
  • apps/public/content/en/compare/fathom-alternative.json
  • apps/public/content/en/compare/fullstory-alternative.json
  • apps/public/content/en/compare/funnelio-alternative.json
  • apps/public/content/en/compare/goatcounter-alternative.json
  • apps/public/content/en/compare/google-analytics-alternative.json
  • apps/public/content/en/compare/heap-alternative.json
  • apps/public/content/en/compare/matomo-alternative.json
  • apps/public/content/en/compare/microsoft-clarity-alternative.json
  • apps/public/content/en/compare/mixpanel-alternative.json
  • apps/public/content/en/compare/mouseflow-alternative.json
  • apps/public/content/en/compare/pirsch-analytics-alternative.json
  • apps/public/content/en/compare/plausible-alternative.json
  • apps/public/content/en/compare/posthog-alternative.json
  • apps/public/content/en/compare/simple-analytics-alternative.json
  • apps/public/content/en/compare/smartlook-alternative.json
  • apps/public/content/en/compare/umami-alternative.json
  • apps/public/content/en/docs/(tracking)/adblockers.mdx
  • apps/public/content/en/docs/(tracking)/consent-management.mdx
  • apps/public/content/en/docs/(tracking)/how-it-works.mdx
  • apps/public/content/en/docs/(tracking)/meta.json
  • apps/public/content/en/docs/(tracking)/revenue-tracking.mdx
  • apps/public/content/en/docs/(tracking)/sdks/astro.mdx
  • apps/public/content/en/docs/(tracking)/sdks/express.mdx
  • apps/public/content/en/docs/(tracking)/sdks/index.mdx
  • apps/public/content/en/docs/(tracking)/sdks/java.mdx
  • apps/public/content/en/docs/(tracking)/sdks/javascript.mdx
  • apps/public/content/en/docs/(tracking)/sdks/kotlin.mdx
  • apps/public/content/en/docs/(tracking)/sdks/meta.json
  • apps/public/content/en/docs/(tracking)/sdks/nextjs.mdx
  • apps/public/content/en/docs/(tracking)/sdks/nuxt.mdx
  • apps/public/content/en/docs/(tracking)/sdks/python.mdx
  • apps/public/content/en/docs/(tracking)/sdks/react-native.mdx
  • apps/public/content/en/docs/(tracking)/sdks/react.mdx
  • apps/public/content/en/docs/(tracking)/sdks/remix.mdx
  • apps/public/content/en/docs/(tracking)/sdks/ruby.mdx
  • apps/public/content/en/docs/(tracking)/sdks/rust.mdx
  • apps/public/content/en/docs/(tracking)/sdks/script.mdx
  • apps/public/content/en/docs/(tracking)/sdks/swift.mdx
  • apps/public/content/en/docs/(tracking)/sdks/vue.mdx
  • apps/public/content/en/docs/(tracking)/sdks/web.mdx
  • apps/public/content/en/docs/(tracking)/session-replay.mdx
  • apps/public/content/en/docs/api-reference/authentication.mdx
  • apps/public/content/en/docs/api-reference/rate-limits.mdx
  • apps/public/content/en/docs/api/authentication.mdx
  • apps/public/content/en/docs/api/export.mdx
  • apps/public/content/en/docs/api/insights.mdx
  • apps/public/content/en/docs/api/manage/clients.mdx
  • apps/public/content/en/docs/api/manage/index.mdx
  • apps/public/content/en/docs/api/manage/meta.json
  • apps/public/content/en/docs/api/manage/projects.mdx
  • apps/public/content/en/docs/api/manage/references.mdx
  • apps/public/content/en/docs/api/meta.json
  • apps/public/content/en/docs/api/track.mdx
  • apps/public/content/en/docs/dashboard/meta.json
  • apps/public/content/en/docs/dashboard/notifications-and-integrations.mdx
  • apps/public/content/en/docs/dashboard/understand-the-overview.mdx
  • apps/public/content/en/docs/get-started/groups.mdx
  • apps/public/content/en/docs/get-started/identify-users.mdx
  • apps/public/content/en/docs/get-started/install-openpanel.mdx
  • apps/public/content/en/docs/get-started/meta.json
  • apps/public/content/en/docs/get-started/track-events.mdx
  • apps/public/content/en/docs/index.mdx
  • apps/public/content/en/docs/mcp/index.mdx
  • apps/public/content/en/docs/meta.json
  • apps/public/content/en/docs/migration/beta-v1.mdx
  • apps/public/content/en/docs/migration/migrate-v1-to-v2.mdx
  • apps/public/content/en/docs/self-hosting/changelog.mdx
  • apps/public/content/en/docs/self-hosting/deploy-coolify.mdx
  • apps/public/content/en/docs/self-hosting/deploy-docker-compose.mdx
  • apps/public/content/en/docs/self-hosting/deploy-dokploy.mdx
  • apps/public/content/en/docs/self-hosting/deploy-kubernetes.mdx
  • apps/public/content/en/docs/self-hosting/environment-variables.mdx
  • apps/public/content/en/docs/self-hosting/high-volume.mdx
  • apps/public/content/en/docs/self-hosting/meta.json
  • apps/public/content/en/docs/self-hosting/migrating-from-clerk.mdx
  • apps/public/content/en/docs/self-hosting/reverse-proxy.mdx
  • apps/public/content/en/docs/self-hosting/self-hosting.mdx
  • apps/public/content/en/docs/self-hosting/supporter-access-latest-docker-images.mdx
  • apps/public/content/en/features/conversion.json
  • apps/public/content/en/features/data-visualization.json
  • apps/public/content/en/features/event-tracking.json
  • apps/public/content/en/features/funnels.json
  • apps/public/content/en/features/identify-users.json
  • apps/public/content/en/features/integrations.json
  • apps/public/content/en/features/mcp.json
  • apps/public/content/en/features/notifications.json
  • apps/public/content/en/features/retention.json
  • apps/public/content/en/features/revenue-tracking.json
  • apps/public/content/en/features/session-replay.json
  • apps/public/content/en/features/session-tracking.json
  • apps/public/content/en/features/share-and-collaborate.json
  • apps/public/content/en/features/web-analytics.json
  • apps/public/content/en/for/agencies.json
  • apps/public/content/en/for/developers.json
  • apps/public/content/en/for/ecommerce.json
  • apps/public/content/en/for/gdpr-compliant.json
  • apps/public/content/en/for/nextjs.json
  • apps/public/content/en/for/saas.json
  • apps/public/content/en/for/shopify.json
  • apps/public/content/en/for/startups.json
  • apps/public/content/en/for/wordpress.json
  • apps/public/content/en/guides/astro-analytics.mdx
  • apps/public/content/en/guides/consent-management.mdx
  • apps/public/content/en/guides/ecommerce-tracking.mdx
  • apps/public/content/en/guides/express-analytics.mdx
  • apps/public/content/en/guides/kotlin-analytics.mdx
  • apps/public/content/en/guides/migrate-from-google-analytics.mdx
  • apps/public/content/en/guides/migrate-from-mixpanel.mdx
  • apps/public/content/en/guides/nextjs-analytics.mdx
  • apps/public/content/en/guides/nodejs-analytics.mdx
  • apps/public/content/en/guides/nuxt-analytics.mdx
  • apps/public/content/en/guides/python-analytics.mdx
  • apps/public/content/en/guides/react-analytics.mdx
  • apps/public/content/en/guides/react-native-analytics.mdx
  • apps/public/content/en/guides/remix-analytics.mdx
  • apps/public/content/en/guides/session-replay.mdx
  • apps/public/content/en/guides/swift-analytics.mdx
  • apps/public/content/en/guides/track-custom-events.mdx
  • apps/public/content/en/guides/vue-analytics.mdx
  • apps/public/content/en/guides/website-analytics-setup.mdx
  • apps/public/content/en/pages/about.mdx
  • apps/public/content/en/pages/contact.mdx
  • apps/public/content/en/pages/cookies.mdx
  • apps/public/content/en/pages/dpa.mdx
  • apps/public/content/en/pages/privacy.mdx
  • apps/public/content/en/pages/supporter-thanks.mdx
  • apps/public/content/en/pages/terms.mdx
  • apps/public/content/zh-CN/articles/better-compliance-self-hosted-analytics.mdx
  • apps/public/content/zh-CN/articles/bullmq-alternative.mdx
  • apps/public/content/zh-CN/articles/cohort-analysis.mdx
  • apps/public/content/zh-CN/articles/cookieless-analytics.mdx
  • apps/public/content/zh-CN/articles/how-to-create-a-funnel.mdx
  • apps/public/content/zh-CN/articles/how-to-export-data-from-umami.mdx
  • apps/public/content/zh-CN/articles/how-to-secure-ubuntu-server.mdx
  • apps/public/content/zh-CN/articles/how-to-self-host-openpanel.mdx
  • apps/public/content/zh-CN/articles/introduction-to-openpanel.mdx
  • apps/public/content/zh-CN/articles/mixpanel-alternatives.mdx
  • apps/public/content/zh-CN/articles/mixpanel-pricing.mdx
  • apps/public/content/zh-CN/articles/open-source-web-analytics.mdx
  • apps/public/content/zh-CN/articles/read-after-write-concistency.mdx
  • apps/public/content/zh-CN/articles/recap-2024.mdx
  • apps/public/content/zh-CN/articles/self-hosted-product-analytics.mdx
  • apps/public/content/zh-CN/articles/self-hosted-web-analytics.mdx
  • apps/public/content/zh-CN/compare/ackee-alternative.json
  • apps/public/content/zh-CN/compare/amplitude-alternative.json
  • apps/public/content/zh-CN/compare/appsflyer-alternative.json
  • apps/public/content/zh-CN/compare/cabin-analytics-alternative.json
  • apps/public/content/zh-CN/compare/countly-alternative.json
  • apps/public/content/zh-CN/compare/crazy-egg-alternative.json
  • apps/public/content/zh-CN/compare/fathom-alternative.json
  • apps/public/content/zh-CN/compare/fullstory-alternative.json
  • apps/public/content/zh-CN/compare/funnelio-alternative.json
  • apps/public/content/zh-CN/compare/goatcounter-alternative.json
  • apps/public/content/zh-CN/compare/google-analytics-alternative.json
  • apps/public/content/zh-CN/compare/heap-alternative.json
  • apps/public/content/zh-CN/compare/matomo-alternative.json
  • apps/public/content/zh-CN/compare/microsoft-clarity-alternative.json
  • apps/public/content/zh-CN/compare/mixpanel-alternative.json
  • apps/public/content/zh-CN/compare/mouseflow-alternative.json
  • apps/public/content/zh-CN/compare/pirsch-analytics-alternative.json
  • apps/public/content/zh-CN/compare/plausible-alternative.json
  • apps/public/content/zh-CN/compare/posthog-alternative.json
  • apps/public/content/zh-CN/compare/simple-analytics-alternative.json
  • apps/public/content/zh-CN/compare/smartlook-alternative.json
  • apps/public/content/zh-CN/compare/umami-alternative.json
  • apps/public/content/zh-CN/docs/(tracking)/adblockers.mdx
  • apps/public/content/zh-CN/docs/(tracking)/consent-management.mdx
  • apps/public/content/zh-CN/docs/(tracking)/how-it-works.mdx
  • apps/public/content/zh-CN/docs/(tracking)/meta.json
  • apps/public/content/zh-CN/docs/(tracking)/revenue-tracking.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/astro.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/express.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/index.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/java.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/javascript.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/kotlin.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/meta.json
  • apps/public/content/zh-CN/docs/(tracking)/sdks/nextjs.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/nuxt.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/python.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/react-native.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/react.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/remix.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/ruby.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/rust.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/script.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/swift.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/vue.mdx
  • apps/public/content/zh-CN/docs/(tracking)/sdks/web.mdx
  • apps/public/content/zh-CN/docs/(tracking)/session-replay.mdx
  • apps/public/content/zh-CN/docs/api-reference/authentication.mdx
  • apps/public/content/zh-CN/docs/api-reference/rate-limits.mdx
  • apps/public/content/zh-CN/docs/api/authentication.mdx
  • apps/public/content/zh-CN/docs/api/export.mdx
  • apps/public/content/zh-CN/docs/api/insights.mdx
  • apps/public/content/zh-CN/docs/api/manage/clients.mdx
  • apps/public/content/zh-CN/docs/api/manage/index.mdx
  • apps/public/content/zh-CN/docs/api/manage/meta.json
  • apps/public/content/zh-CN/docs/api/manage/projects.mdx
  • apps/public/content/zh-CN/docs/api/manage/references.mdx
  • apps/public/content/zh-CN/docs/api/meta.json
  • apps/public/content/zh-CN/docs/api/track.mdx
  • apps/public/content/zh-CN/docs/dashboard/meta.json
  • apps/public/content/zh-CN/docs/dashboard/notifications-and-integrations.mdx
  • apps/public/content/zh-CN/docs/dashboard/understand-the-overview.mdx
  • apps/public/content/zh-CN/docs/get-started/groups.mdx
  • apps/public/content/zh-CN/docs/get-started/identify-users.mdx
  • apps/public/content/zh-CN/docs/get-started/install-openpanel.mdx
  • apps/public/content/zh-CN/docs/get-started/meta.json
  • apps/public/content/zh-CN/docs/get-started/track-events.mdx
  • apps/public/content/zh-CN/docs/index.mdx
  • apps/public/content/zh-CN/docs/mcp/index.mdx
  • apps/public/content/zh-CN/docs/meta.json
  • apps/public/content/zh-CN/docs/migration/beta-v1.mdx
  • apps/public/content/zh-CN/docs/migration/migrate-v1-to-v2.mdx
  • apps/public/content/zh-CN/docs/self-hosting/changelog.mdx
  • apps/public/content/zh-CN/docs/self-hosting/deploy-coolify.mdx
  • apps/public/content/zh-CN/docs/self-hosting/deploy-docker-compose.mdx
  • apps/public/content/zh-CN/docs/self-hosting/deploy-dokploy.mdx
  • apps/public/content/zh-CN/docs/self-hosting/deploy-kubernetes.mdx
  • apps/public/content/zh-CN/docs/self-hosting/environment-variables.mdx
  • apps/public/content/zh-CN/docs/self-hosting/high-volume.mdx
  • apps/public/content/zh-CN/docs/self-hosting/meta.json
  • apps/public/content/zh-CN/docs/self-hosting/migrating-from-clerk.mdx
  • apps/public/content/zh-CN/docs/self-hosting/reverse-proxy.mdx
  • apps/public/content/zh-CN/docs/self-hosting/self-hosting.mdx
  • apps/public/content/zh-CN/docs/self-hosting/supporter-access-latest-docker-images.mdx
  • apps/public/content/zh-CN/features/conversion.json
  • apps/public/content/zh-CN/features/data-visualization.json
  • apps/public/content/zh-CN/features/event-tracking.json
  • apps/public/content/zh-CN/features/funnels.json
  • apps/public/content/zh-CN/features/identify-users.json
  • apps/public/content/zh-CN/features/integrations.json
  • apps/public/content/zh-CN/features/mcp.json
  • apps/public/content/zh-CN/features/notifications.json
  • apps/public/content/zh-CN/features/retention.json
  • apps/public/content/zh-CN/features/revenue-tracking.json
  • apps/public/content/zh-CN/features/session-replay.json
  • apps/public/content/zh-CN/features/session-tracking.json
  • apps/public/content/zh-CN/features/share-and-collaborate.json
  • apps/public/content/zh-CN/features/web-analytics.json
  • apps/public/content/zh-CN/for/agencies.json
  • apps/public/content/zh-CN/for/developers.json
  • apps/public/content/zh-CN/for/ecommerce.json
  • apps/public/content/zh-CN/for/gdpr-compliant.json
  • apps/public/content/zh-CN/for/nextjs.json
  • apps/public/content/zh-CN/for/saas.json
  • apps/public/content/zh-CN/for/shopify.json
  • apps/public/content/zh-CN/for/startups.json
  • apps/public/content/zh-CN/for/wordpress.json
  • apps/public/content/zh-CN/guides/astro-analytics.mdx
  • apps/public/content/zh-CN/guides/consent-management.mdx
  • apps/public/content/zh-CN/guides/ecommerce-tracking.mdx
  • apps/public/content/zh-CN/guides/express-analytics.mdx
  • apps/public/content/zh-CN/guides/kotlin-analytics.mdx
  • apps/public/content/zh-CN/guides/migrate-from-google-analytics.mdx
  • apps/public/content/zh-CN/guides/migrate-from-mixpanel.mdx
  • apps/public/content/zh-CN/guides/nextjs-analytics.mdx
  • apps/public/content/zh-CN/guides/nodejs-analytics.mdx
  • apps/public/content/zh-CN/guides/nuxt-analytics.mdx
  • apps/public/content/zh-CN/guides/python-analytics.mdx
  • apps/public/content/zh-CN/guides/react-analytics.mdx
  • apps/public/content/zh-CN/guides/react-native-analytics.mdx
  • apps/public/content/zh-CN/guides/remix-analytics.mdx
  • apps/public/content/zh-CN/guides/session-replay.mdx
  • apps/public/content/zh-CN/guides/swift-analytics.mdx
  • apps/public/content/zh-CN/guides/track-custom-events.mdx
  • apps/public/content/zh-CN/guides/vue-analytics.mdx
  • apps/public/content/zh-CN/guides/website-analytics-setup.mdx
  • apps/public/content/zh-CN/pages/about.mdx
  • apps/public/content/zh-CN/pages/contact.mdx
  • apps/public/content/zh-CN/pages/cookies.mdx
  • apps/public/content/zh-CN/pages/dpa.mdx
  • apps/public/content/zh-CN/pages/privacy.mdx
  • apps/public/content/zh-CN/pages/supporter-thanks.mdx

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants