gitlocalize / feedback

:mega: We love feedback :sparkles:
20 stars 8 forks source link

Cannot translate html page with details element #142

Open mattgarrish opened 3 weeks ago

mattgarrish commented 3 weeks ago

Summary

If an html page contains a details element, whether opened or collapsed by default, its body is not translatable in the gitlocalize interface.

Steps to reproduce

Repository URL

The following page uses details elements for descriptions: https://github.com/daisy/kb/blob/main/publishing/docs/epub/validation/smart.html

What is the current bug behavior?

Only the Head section is translatable. The Body cannot be clicked on to translate the text regardless of whether the text is in the details element or not.

What is the expected correct behavior?

All the text of the page should be translatable, including within the details element.

svasilenkov commented 3 weeks ago

@mattgarrish Thank you for the feedback. Unfortunately, GitLocalize doesn't work very well with HTML at the moment. If possible, please use other supported formats to translate your content.