mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
d7e28c9704
- Load balancing (can connect to multiple accounts, automatically switch accounts when there is no quota) - AI call log - Model rate configuration
24 lines
940 B
Markdown
24 lines
940 B
Markdown
# Translation Workflow in Windsurf
|
|
|
|
Follow these steps to manage translations in the project:
|
|
|
|
1. **Scan for New Translations**
|
|
* Navigate to the `frontend` directory
|
|
* Run `pnpm run scan` to detect new translatable content
|
|
|
|
2. **Locate New Translation Fields**
|
|
* Go to `packages/common/src/locales/scan/newJson`
|
|
* Find the language-specific JSON files (e.g., en-US.json, ja-JP.json)
|
|
* These files contain the new fields that need translation
|
|
|
|
3. **Apply Translations**
|
|
* After translating the content, go to `packages/common/src/locales/scan`
|
|
* Open the corresponding language JSON file include ja-JP.json,en-US.json,zh-CH.json,zh-TW.json
|
|
* Paste the translated content into the appropriate file
|
|
|
|
4. **Save and Apply**
|
|
* Save the file
|
|
* Changes will take effect immediately
|
|
* No additional build or restart is required
|
|
|
|
Note: Available language files are en-US.json, ja-JP.json, zh-CN.json, and zh-TW.json. |