Extract translation files
cs_extract_translationsExport agent localizable strings as .resx or .json files from the environment or an unpacked solution folder, using the active pac auth profile.
Instructions
Export the localisable strings of one or all agents as .resx or .json files, from the environment or from an unpacked solution folder. Runs 'pac copilot extract-translation' with the active pac auth profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Write files for every supported language, not only the primary one | |
| bot | No | Agent id or schema name; omit for every agent | |
| cwd | No | Working directory for pac (for project commands: the solution project folder) | |
| format | No | resx (default) or json | |
| outDir | No | Output directory | |
| profile | No | pac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles. | |
| overwrite | No | Overwrite existing files | |
| sourceDir | No | Unpacked solution folder to read instead of the environment | |
| background | No | Run in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status. | |
| environment | No | Environment id or URL; default: the environment of the active pac auth profile | |
| timeoutSeconds | No | Default 900 |