Bug 126602 - [HELPCONTENT2] Changes in <image> and <alt> tags are not sent to Pootle, thus not translated
Summary: [HELPCONTENT2] Changes in <image> and <alt> tags are not sent to Pootle, thus...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
6.3.0.2 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-29 14:50 UTC by Olivier Hallot
Modified: 2020-04-25 19:41 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2019-07-29 14:50:45 UTC
<images> and <alt> changes in English are not sent to Pootle for translation.

Example

The Help page 

https://help.libreoffice.org/6.3/fr/text/smath/01/03090800.html

does not display icons, where the English page

https://help.libreoffice.org/6.3/en-US/text/smath/01/03090800.html

does.

Furthermore, the <alt> values were also changed and are not in Pootle.

For example, a string in source code is 

<paragraph role="paragraph" id="par_idN10081" xml-lang="en-US">

<image id="img_id3145418" src="media/helpimg/starmath/op21401.svg" width="1cm" height="1cm"><alt id="alt_id3145418" xml-lang="en-US">is included in Icon</alt>
</image>

</paragraph>


The same English string in Pootle is 

<image id="img_id3145418" src="media/helpimg/starmath/op21401.png" width="8.47mm" height="8.47mm"><alt id="alt_id3145418">Icon</alt></image>

and the French translation is

<image id="img_id3145418" src="media/helpimg/starmath/op21401.png" width="8.47mm" height="8.47mm"><alt id="alt_id3145418">Icône</alt></image>

Note that the source string has icon now is an SVG file. The image file in Pootle is a PNG file. The <alt> contents has changed, and should have triggered a update in translation. Also, the paragraph is marked for translation by default.
Comment 1 Xisco Faulí 2019-10-22 14:34:53 UTC
Hi Olivier,
This issue is for Pootle. Do we have the same problem with weblate ?
Comment 2 Olivier Hallot 2019-10-22 15:32:27 UTC
Apparently the issue vanished in weblate. Pages in master (6.4) have the right icon.
Comment 3 Julien Nabet 2019-10-28 13:40:55 UTC
Should we consider this one as WFM since it works on Weblate now or should we ping Sophie/Jean-Baptiste for 6.3 part on Pootle?