mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-31 00:10:22 +08:00
Add configuration file for i18next-cli with supported locales and extraction settings Update package.json scripts to use i18next-cli commands for status and extraction
13 lines
258 B
TypeScript
13 lines
258 B
TypeScript
import { defineConfig } from 'i18next-cli';
|
|
|
|
export default defineConfig({
|
|
locales: [
|
|
"en-us",
|
|
"zh-cn",
|
|
"zh-tw"
|
|
],
|
|
extract: {
|
|
input: "src/renderer/src/**/*.{ts,tsx}",
|
|
output: "src/renderer/src/i18n/locales/{{language}}.json"
|
|
}
|
|
}); |