We need to understand what is the format of the payload we transport.

For some third party translators, we should mask HTML to make sure it is not destroyed by the translator.
Thus we should integrate with text formats / filter formats. This needs configurability per text format and partially per filter.

Comments

miro_dietiker’s picture

Related or somehow similar:
#1415234: Deal with text format permissions and security

However, once the text format is identified, we can deal with plugins that can deal with the markups. Somehow similar to filters, but with a bidirectional transformation: Mask and unmask.

A more adult Drupal text format / filter system would help us a lot...

Related also:
#1882108: Change record: mask HTML markup in XLIFF

miro_dietiker’s picture

miro_dietiker’s picture

Title: make us understand text formats / markups such as HTML » Treat text formats differently such as HTML / markdown
Version: 7.x-1.x-dev » 8.x-1.x-dev

Note that this specific treatment involves validation and also masking for the translator.