mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2025-12-18 13:54:19 +01:00
21 lines
496 B
TypeScript
21 lines
496 B
TypeScript
import { defineConfig } from "@lingui/conf";
|
|
import { formatter } from "@lingui/format-json";
|
|
import type { SupportedLocale } from "./src/lib/i18n/schema";
|
|
|
|
const config = defineConfig({
|
|
locales: ["ja", "en", "zh_CN"] satisfies SupportedLocale[],
|
|
sourceLocale: "en",
|
|
fallbackLocales: {
|
|
default: "en",
|
|
},
|
|
catalogs: [
|
|
{
|
|
path: "src/lib/i18n/locales/{locale}/messages",
|
|
include: ["src"],
|
|
},
|
|
],
|
|
format: formatter({ style: "lingui" }),
|
|
});
|
|
|
|
export default config;
|