- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class TranslateSVGServlet
extends HttpServlet
Translate a svg file on-the-fly.
svg file must contain strings tagged with _("...")
See TranslateReader for details.
We don't bother parsing the XML and replacing entities,
since we had TranslateReader already.
If we want to use svg files unmodified, we'll have to parse the XML
and replace the title and tspan elements.
Servlet path contains .svg files in the /svg/ directory.
- Since:
- 0.9.34
- See Also:
- Serialized Form