transform_for_japan
Convert Western UI markup into Japanese-ready formats by adjusting name order, adding furigana, restructuring addresses, and applying appropriate keigo based on business context.
Instructions
Transform Western markup into Japan-ready markup. Automatically fixes: name field order (firstName/lastName → 姓/名), adds furigana, splits phone into 3 fields, restructures address to 〒 postal format, translates buttons with appropriate keigo, replaces Western placeholder data with Japanese examples. Shows before/after scores and explains every change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markup | Yes | Western HTML/JSX markup to transform | |
| context | Yes | Business context — determines keigo level and conventions | |
| format | No | Output format | html |
| preserve_styling | No | Preserve existing CSS classes and styles |