target_locales() method on your agentic workflow to specify which languages it supports:
Python
Setting the source locale
By default, the source locale isen (English). Change it using the source_locale() method:
Python
Enabling or disabling translation
Enable or disable translation support explicitly:Python
When you disable translation, the system ignores the
target_locales() configuration and applies no translations.Complete example
The following example shows a customer feedback form with multi-language support:Python
Next steps
After you configure target locales in your agentic workflow code:- Import the agentic workflow into watsonx Orchestrate.
- Export translations to a CSV file.
- Add translations to the CSV file.
- Import translations back into the agentic workflow.

