This documentation is for an older version of GoodData.
Go to the latest version of this article.
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
name | type | description |
---|---|---|
workspace_id | string | The ID of the workspace. |
target_language | string | The target language for the metadata localization. |
file_path | Path | The 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")
)