catalog_workspace.

save_metadata_locale_to_disk

save_metadata_locale_to_disk(workspace_id: str, target_language: str, file_path: Path) -> None

Save the metadata localization for a workspace to a file.

Parameters

nametypedescription
workspace_idstringThe ID of the workspace.
target_languagestringThe target language for the metadata localization.
file_pathPathThe path to the file where the XLIFF content will be saved.

Returns

None

Example

# Save the metadata localization for a workspace to a file.
sdk.catalog_workspace.save_metadata_locale_to_disk(
    workspace_id="123",
    target_language="de-DE",
    file_path=Path("/path/to/file.xliff")
)