Files
zulip-desktop/i18next.config.ts
Anders Kaseorg 5eccd49fef Switch i18next-parser to i18next-cli.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-02 00:13:55 -07:00

15 lines
368 B
TypeScript

import {defineConfig} from "i18next-cli";
export default defineConfig({
locales: ["en"],
extract: {
input: ["app/**/*.ts"],
output: "public/translations/{{language}}.json",
functions: ["t.__", "t.__mf"],
keySeparator: false,
nsSeparator: false,
sort: (a, b) => (a.key < b.key ? -1 : a.key > b.key ? 1 : 0),
indentation: "\t",
},
});