Skip to content

figcaption and image attributes not translated #45

@RomainLanz

Description

@RomainLanz

Hey there! 👋🏻

I noticed that the API doesn’t seem to handle the translation of some tags and attributes

I’m translating an article that includes images wrapped in <figure> elements, with captions inside <figcaption> tags. Here’s a simplified example of the HTML:

<figure>
  <img src="xx" srcset="xxx" title="ABCD" alt="ABCD">
  <figcaption>ABCD</figcaption>
</figure>

In this case, none of the ABCD strings (in title, alt, or figcaption) were translated by the API.

Is this expected behavior, or is there a way to ensure these parts are included in the translation?

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