Skip to content

[Bug]: Locale used by the system generates incorrect SVG syntax #4240

@LaYaute74

Description

@LaYaute74

Apache Hop version?

2.8.0 (2024-02-28 03.31.08)

Java version?

11.0.23

Operating system

Windows

What happened?

Summary : There is a 'graphic' problem on the SVG file when exported with a french HoP due to the difference in the syntax beetween the dot and the comma in the SVG code.

Step 1 : Put Hop In french, close it reopen it so we are sure we are in french standard.

Step 2 : Take a workflow and do an SVG export

Step 3 : Open it and see the graphic problem (start button, pipeline icone, hop arrow, etc. See the difference beetween a french (left) and an english (right) export.
image

Step 4 : Open it with text editor and see the issues in the following code
edit : I cant post code in this issue, i dont know way it's not show itself

How to resolve it : Every line <g xmlns:sodipodi is problematic because of the comma in translate, scale ou rotate. See the english one : transform="translate(699 136) scale(0.667 0.667) rotate(0 12 12)" stroke="none">
See the french one : transform="translate(699 136) scale(0,667 0,667) rotate(0 12 12)" stroke="none">

Find a way to modify the way all these line that are generated in the SVG code (there is the french SVG code)

Issue Priority

Priority: 3

Issue Component

Component: Hop Gui

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions