Sample output · 1 of 3
Somebody has a Word file or a workbook in a language they cannot read and needs it in one they can. Translates the words and copies the layout through: headings, tables, bold runs, column formats and every number exactly as they were, as a new .docx or .xlsx plus a preview page.
The first task in a new project also sets up its computer (about 3 min).
Translate a document and keep its layout
Try this prompt
Use the Document Translator skill to put lamp-care-guide.docx into German, and to open the page image afterwards to check that the heading levels, the two-column table and the bold word are all still where they were.
One translated document in the format it came in: prices.docx to prices.de.docx or a workbook to a workbook, with the source's own name and the language tag in front of the extension. The layout is copied through untouched, so a bold word is still the bold word and a price is still the same price.
| Field | Required | Hint |
|---|---|---|
| targetLanguage | Yes | The language the output file is written in, as a tag such as de, pt-BR or zh-Hans (at most 40 characters) |
You say
Use the Document Translator skill to put lamp-care-guide.docx into German, and to open the page image afterwards to check that the heading levels, the two-column table and the bold word are all still where they were.
None
Node 20+; Python with python-docx and openpyxl; Chromium for the preview; no network at run time
None
targetLanguage (The language the output file is written in, as a tag such as de, pt-BR or zh-Hans (at most 40 characters))
onlypro, claude-code, codex, cursor