diff --git a/web/i18n-config/README.md b/web/i18n-config/README.md index 1d25afa5f9..65ea919aeb 100644 --- a/web/i18n-config/README.md +++ b/web/i18n-config/README.md @@ -166,21 +166,21 @@ We have a list of languages that we support in the `languages.ts` file. But some Translation is handled automatically by Claude Code GitHub Actions. When changes are pushed to `web/i18n/en-US/*.json` on the main branch: 1. Claude Code analyzes the git diff to detect changes -2. Identifies three types of changes: +1. Identifies three types of changes: - **ADD**: New keys that need translation - **UPDATE**: Modified keys that need re-translation (even if target language has existing translation) - **DELETE**: Removed keys that need to be deleted from other languages -3. Runs `i18n:check` to verify the sync status -4. Translates missing/updated keys while preserving placeholders (`{{var}}`, `${var}`, ``) -5. Creates a PR with the translations +1. Runs `i18n:check` to verify the sync status +1. Translates missing/updated keys while preserving placeholders (`{{var}}`, `${var}`, ``) +1. Creates a PR with the translations ### Manual Trigger To manually trigger translation: 1. Go to Actions > "Translate i18n Files with Claude Code" -2. Click "Run workflow" -3. Optionally configure: +1. Click "Run workflow" +1. Optionally configure: - **files**: Specific files to translate (space-separated, e.g., "app common") - **languages**: Specific languages to translate (space-separated, e.g., "zh-Hans ja-JP") - **mode**: `incremental` (default, only changes) or `full` (check all keys)