Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

figcaption and image attributes not translated #45

Open
RomainLanz opened this issue Mar 26, 2025 · 0 comments
Open

figcaption and image attributes not translated #45

RomainLanz opened this issue Mar 26, 2025 · 0 comments

Comments

@RomainLanz
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant