get_localization
Load localizable translation fields for a design document (page, page component, site chrome, or email chrome). Default missingOnly=true returns gaps and sets truncated. missingOnly=false returns every field. Empty strings are omitted unless includeEmpty is true. keys, blockId, and locales narrow the list. Use this for translations only; use save_page / save_chrome / save_component for layout and structure.
get_localization · Grup: design
Load localizable translation fields for a design document (page, page component, site chrome, or email chrome). Default missingOnly=true returns gaps and sets truncated. missingOnly=false returns every field. Empty strings are omitted unless includeEmpty is true. keys, blockId, and locales narrow the list. Use this for translations only; use save_page / save_chrome / save_component for layout and structure.
Girdiler
| Field | Required | Notes |
|---|---|---|
websiteId | required | |
target | required | page | page-component | chrome-header | chrome-footer | email-chrome-header | email-chrome-footer |
pageId | optional | Required when target is page |
componentId | optional | Required when target is page-component |
keys | optional | Localization keys, as an array or a comma-separated string |
blockId | optional | |
locales | optional | Locale codes, as an array or a comma-separated string |
missingOnly | optional | |
includeEmpty | optional |