Opened 3 years ago

Closed 15 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:


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.


Change History (3)

comment:1 Changed 3 years ago by str4d

  • Status changed from new to open

comment:2 Changed 15 months ago by zzz

  • Milestone changed from 0.9.25 to 0.9.34
  • Owner set to zzz
  • Status changed from open to accepted

comment:3 Changed 15 months ago by zzz

  • Resolution set to fixed
  • Status changed from accepted to closed

In fdc1bbd68bc81eb548a5aa092afd8ebbd5e8ca4a to be 0.9.33-16

Note: See TracTickets for help on using tickets.