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
Girdiler
websiteId
zorunlu
target
zorunlu — page | page-component | chrome-header | chrome-footer | email-chrome-header | email-chrome-footer
pageId
isteğe bağlı — Required when target is page
componentId
isteğe bağlı — Required when target is page-component
keys
isteğe bağlı — Localization keys, as an array or a comma-separated string
blockId
isteğe bağlı
locales
isteğe bağlı — Locale codes, as an array or a comma-separated string
missingOnly
isteğe bağlı
includeEmpty
isteğe bağlı
Şema
{
"name": "get_localization",
"group": "design",
"inputFields": [
{
"name": "websiteId",
"required": true
},
{
"name": "target",
"required": true,
"description": "page | page-component | chrome-header | chrome-footer | email-chrome-header | email-chrome-footer"
},
{
"name": "pageId",
"required": false,
"description": "Required when target is page"
},
{
"name": "componentId",
"required": false,
"description": "Required when target is page-component"
},
{
"name": "keys",
"required": false,
"description": "Localization keys, as an array or a comma-separated string"
},
{
"name": "blockId",
"required": false
},
{
"name": "locales",
"required": false,
"description": "Locale codes, as an array or a comma-separated string"
},
{
"name": "missingOnly",
"required": false
},
{
"name": "includeEmpty",
"required": false
}
]
}