rmraya / OpenXLIFF

An open source set of Java filters for creating, merging and validating XLIFF 1.2, 2.0 and 2.1 files.
https://www.maxprograms.com/products/openxliff.html
Eclipse Public License 1.0
65 stars 17 forks source link

Setting to treat SVGs as binary #31

Closed raducoravu closed 3 months ago

raducoravu commented 3 months ago

For the Oxygen Fluenta add-on we have a client using it and the client would like the generated xliff to treat SVGs as binary images as the client is not interested in translating the SVGs. Looking at the code there does not seem to be a setting to state that SVGs should be treated as binary.

rmraya commented 3 months ago

Your observation is correct. There is no option to treat linked SVG files as binaries.

raducoravu commented 3 months ago

Thanks @rmraya, could this be interpreted as a feature request? Maybe other users would benefit from being able to choose this behavior.

rmraya commented 3 months ago

I have no plans to implement this change. If anyone is interested in sponsoring the development, I would consider it.

raducoravu commented 1 month ago

+1 another end user complaining that for a DITA project with topics summing about 200kbytes on disk they get an xliff of about 100MBs as the xliff contains the expanded svg images.