Skip to content

tag_handling_version missing in TranslateTextOptions #80

Description

@sbuerk

Since Q4 2025 the new v2 version of the tag handling
has been released, changing some behaviours like for
example enforcing strict xml parsing and others.

Which version to use per default is handled based on
the fact if a key (user) has been using it before 1st
December 2025 (2025-12-01) or since then, which makes
this really hard.

[1] Customers who had not used tag handling prior to
2025-12-01 default to v2. All other customers default
to v1.

Therefore, TranslateTextOptions should get the
constant for the taghandling version or at least
allow it as option (hardcoded) !!

[1] https://developers.deepl.com/docs/xml-and-html-handling/tag-handling-v2#html

Activity

  1. sbuerk commented on Jan 20, 2026

    @sbuerk
    Author

    Sorry, just found out that this has been added meanwhile.

    I searched for it but missed it, and also missed to find
    any issue or similar. However, it turns out that this is
    included in 1.16.0 ba8fd72

    Closing the issue again, sorry for the disturbance and
    thanks for maintining this client package ❤️ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions