create_language_variant
Create a language variant of an existing HubSpot page and link it to the source's multi-language group for automatic language switcher support. Supply translated copy via layout sections override.
Instructions
Create a language variant of an existing page, e.g. EN from a DE page.
The variant joins the source's multi-language group, so HubSpot's language switcher picks it up. Translate the copy yourself and pass it via layout_sections_override — this tool does not translate.
Args: source_id: source page ID. source_type: 'landing' or 'site'. target_language: ISO 639-1 code, e.g. 'en'. slug_override: explicit slug for the variant. layout_sections_override: translated module content to apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_id | Yes | ||
| source_type | Yes | ||
| slug_override | No | ||
| target_language | Yes | ||
| layout_sections_override | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||