Opened 4 years ago

Closed 20 months ago

#1749 closed defect (fixed)

Translate svg image text on-the-fly

Reported by: zzz Owned by: zzz
Priority: minor Milestone: 0.9.34
Component: apps/susidns Version: 0.9.23
Keywords: Cc: z3r0fox
Parent Tickets: Sensitive: no

Description

ref: #1301

Since svg is just xml, we can tag and translate text in it just like we do for the proxy error pages, using TranslateReader?.

Text would be tagged with _("foo") as we do in the proxy pages. (We don't use _t because it isn't Java). This could be done either in inkscape or by editing the svg file directly.

The only problem is strings split across multiple lines. We'd want to minimze or eliminate that because it would make the translation wonky. Each line needs to be tagged separately.

We'd need a new servlet to feed the file through TranslateReader?, and a little build.xml to extract the tags. Probably easiest to create a separate bundle for it.

Subtickets

Change History (3)

comment:1 Changed 4 years ago by str4d

Status: newopen

comment:2 Changed 20 months ago by zzz

Milestone: 0.9.250.9.34
Owner: set to zzz
Status: openaccepted

comment:3 Changed 20 months ago by zzz

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.