Live video on the AT Protocol
1import { defineConfig } from "i18next-cli";
2// i18next-cli configuration
3// We use i18next-fluent, so variant handling (platform, count, etc.)
4// is done using Fluent's select expressions within messages.
5// Example: shortcut-key-search = { $platform -> [mac] Cmd+K [windows] Ctrl+K *[other] Ctrl+K }
6
7export default defineConfig({
8 locales: ["en-US", "es-ES", "fr-FR", "pt-BR", "zh-Hant"],
9 extract: {
10 input: [
11 "src/**/*.{js,jsx,ts,tsx}",
12 "../app/src/**/*.{js,jsx,ts,tsx}",
13 "../app/components/**/*.{js,jsx,ts,tsx}",
14 ],
15 contextSeparator: "|",
16 pluralSeparator: "/",
17 output: "public/locales/{{language}}/{{namespace}}.json",
18 primaryLanguage: "en-US",
19 defaultNS: "common",
20 },
21});