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
940 B
940 B
Translation Workflow in Windsurf
Follow these steps to manage translations in the project:
-
Scan for New Translations
- Navigate to the
frontenddirectory - Run
pnpm run scanto detect new translatable content
- Navigate to the
-
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
- Go to
-
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
- After translating the content, go to
-
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.