i18n-csv-generator

所属分类:其他
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2024-01-30 19:38:08
上 传 者sh-1993
说明:  i18n-csv发生器
(i18n csv generator)

文件列表:
.changeset/
public/
src/
.npmrc
package-lock.json
package.json
pnpm-lock.yaml
tsconfig.json

# i18n-csv-generator ## Description This is a simple tool to generate i18n csv files from a given directory. ## Usage ```bash $ npm i i18n-csv-generator $ npm exec i18n-csv-generator init # Generates a configuration file $ npm exec i18n-csv-generator generate # Generates the locale files ``` ## Configuration The configuration file is a JSON file named `i18n-csv-generator.json` at the root of your project. ```jsonc { "csvFile": "./src/i18n/locale.csv", // The path to the csv file "delimiter": ",", // The delimiter used in the csv file "generateAt": "./src/i18n/locales", // The path where the locale files will be generated "offset": 0, // The offset of the csv file, will jump columns } ```

近期下载者

相关文件


收藏者