Files
lobehub/.i18nrc.js
canisminor1990 32e0255387 feat: Add new import statement and update module.exports in .i18nrc.js
The import statement for "@lobehub/i18n-cli" is added in ".i18nrc.js" to enable its usage. Additionally, the module.exports is updated to use the defineConfig function for better configuration management.

feat: Add new peerDependencies and publishConfig fields in package.json

New peerDependencies and publishConfig fields are added in "package.json" to specify the required dependencies and publishing configuration respectively. This ensures proper functioning and compatibility of the project.
2023-07-15 19:22:16 +08:00

14 lines
377 B
JavaScript

const { description } = require('./package.json');
const { defineConfig } = require('@lobehub/i18n-cli');
module.exports = defineConfig({
reference: description,
entry: 'public/locales/zh_CN',
entryLocale: 'zh_CN',
output: 'public/locales',
outputLocales: ['zh_HK', 'en_US', 'ja_JP', 'ko_KR'],
splitToken: 2500,
temperature: 0,
modelName: 'gpt-3.5-turbo',
});