-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lobe-i18n setup and translation scripts and update translation fi…
…les for consistency (#1751) * refactor: convert translation files from TS to JSON format * feat: add lobe-i18n setup and translation scripts * chore: update translation files for consistency * chore: refine translations in ja_JP.json for natural phrasing * refactor: revert locale file names to original simpler format (e.g., en_US → en)
- Loading branch information
1 parent
5c6eecd
commit 9ef4018
Showing
14 changed files
with
5,518 additions
and
1,088 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// This file is intentionally kept in CommonJS format (.cjs) | ||
// to resolve compatibility issues with dependencies that require CommonJS. | ||
// Do not convert this file to ESModule format unless all dependencies support it. | ||
const { defineConfig } = require('@lobehub/i18n-cli'); | ||
|
||
module.exports = defineConfig({ | ||
entry: 'src/locales/en.json', | ||
entryLocale: 'en', | ||
output: 'src/locales', | ||
outputLocales: ['zh', 'ru', 'ja'], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.