Add i18n support: per-locale catalogs, URL-driven locale, translated core and examples
CI / full-gate (push) Successful in 2m37s

This commit is contained in:
2026-08-03 22:37:27 +02:00
parent c30cd95ebd
commit 245d1ad5b5
93 changed files with 2480 additions and 464 deletions
+3 -1
View File
@@ -29,7 +29,9 @@ export interface MenuConfigInput {
override?: NavOverride;
}
export const DEFAULT_BRANDING: Branding = { name: "Plainpages", sub: "Console" };
// The shipped default. `sub` is a catalog key so a clean clone reads in the visitor's language;
// an operator's own text in config/menu.ts renders as written (chrome runs both through t()).
export const DEFAULT_BRANDING: Branding = { name: "Plainpages", sub: "brand.sub" };
export const DEFAULT_MENU: MenuConfig = { branding: DEFAULT_BRANDING, override: {} };
const rootDir = join(dirname(fileURLToPath(import.meta.url)), "..", "..");