refactor: extract dedicated @calcom/i18n package (#28141)

This commit is contained in:
Benny Joo
2026-02-23 13:30:12 +00:00
committed by GitHub
parent f00be08e8c
commit 648ad72a54
208 changed files with 548 additions and 459 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ const translationKeyRegex = /(?<!\w)(?:t\(("[^"]*")(?:,\s*\{[^}]*\})?\)|i18nKey=
/** @type {import("i18n-unused/src/types/index.ts").RunOptions} */
const config = {
// localesPath: localePath, // uncomment to run on all locales (to calculate kb savings)
localesPath: path.join("./apps/website", "/public/static/locales", "/en"),
localesPath: path.join("./packages/i18n/locales", "/en"),
srcPath: "./apps/website",
srcExtensions: ["ts", "tsx"],
translationContextSeparator: ":",