Title: Request - Be able to translate large XML documents · Issue #144 · DeepL/deepl-python · GitHub
Open Graph Title: Request - Be able to translate large XML documents · Issue #144 · DeepL/deepl-python
X Title: Request - Be able to translate large XML documents · Issue #144 · DeepL/deepl-python
Description: I translate lots of XML files. The only way to effectively translate XML files today is to use translate_text with the 'xml' option. It would be extremely helpful to be able to have call like translate_document that is able to upload the...
Open Graph Description: I translate lots of XML files. The only way to effectively translate XML files today is to use translate_text with the 'xml' option. It would be extremely helpful to be able to have call like trans...
X Description: I translate lots of XML files. The only way to effectively translate XML files today is to use translate_text with the 'xml' option. It would be extremely helpful to be able to have call li...
Opengraph URL: https://github.com/DeepL/deepl-python/issues/144
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Request - Be able to translate large XML documents","articleBody":"I translate lots of XML files. The only way to effectively translate XML files today is to use **translate_text** with the 'xml' option.\n\nIt would be extremely helpful to be able to have call like **translate_document** that is able to upload the document is parts then translates the document and assembles the returned document correctly.\n\nThe API call translate_text is only able to upload and translate a rather rather small piece of text (128Kb). \n\nTranslating large amounts of XML files then becomes cumbersome when many of the files exceed the file size that translate_text can handle.\n\nIs this something that is on the roadmap? Otherwise it would be helpful to hear what other people are doing.\n\nPerhaps I do need to write a piece of software that splits larger XML files into logical pieces and the assembles them after translation. It is just something I would rather not do.\n\nThanks","author":{"url":"https://github.com/matsbert","@type":"Person","name":"matsbert"},"datePublished":"2025-09-01T12:49:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/144/deepl-python/issues/144"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4067804d-9246-b1e9-1088-62a0d9db4a24 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D510:1A5476:14870EB:1C74742:6A4CAD22 |
| html-safe-nonce | f2bc7238b0c1273db593271c722ecf8d09203542460a13cd0d3d167e2504e7e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTEwOjFBNTQ3NjoxNDg3MEVCOjFDNzQ3NDI6NkE0Q0FEMjIiLCJ2aXNpdG9yX2lkIjoiNzQxMzc3MzI5MTcyMDg0NjYyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 326dc001f6f8e08e029fdc215976ab15ebf2d98fb88bb5b7e38a780df623cdfd |
| hovercard-subject-tag | issue:3372574460 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DeepL/deepl-python/144/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0fda8ec2a790b44660d94466938ff2f360e1bb87f7f366fc97564b44037848ed/DeepL/deepl-python/issues/144 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0fda8ec2a790b44660d94466938ff2f360e1bb87f7f366fc97564b44037848ed/DeepL/deepl-python/issues/144 |
| og:image:alt | I translate lots of XML files. The only way to effectively translate XML files today is to use translate_text with the 'xml' option. It would be extremely helpful to be able to have call like trans... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | matsbert |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/DeepL/deepl-python git https://github.com/DeepL/deepl-python.git |
| octolytics-dimension-user_id | 83310993 |
| octolytics-dimension-user_login | DeepL |
| octolytics-dimension-repository_id | 387469387 |
| octolytics-dimension-repository_nwo | DeepL/deepl-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 387469387 |
| octolytics-dimension-repository_network_root_nwo | DeepL/deepl-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width