This documentation is for an older version of GoodData.
Go to the latest version of this article.
CatalogWorkspaceService.
add_metadata_locale
add_metadata_locale(workspace_id: str, target_language: str, translator_func: Callable, set_locale: bool) ->
None
Add and optionally set the metadata localization for a workspace in a target language.
Parameters
| name | type | description |
|---|---|---|
| workspace_id | str | The ID of the workspace. |
| target_language | str | The target language for the metadata localization. |
| translator_func | Callable | A function to translate the source text. |
| set_locale | bool | Flag to indicate if the locale settings should be updated in the workspace. |