Page MenuHomePhabricator

SVG Translate does not output translated clause.
Open, LowPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

The relevant SVG for " 90" is

SVG input
<switch>
  <text id="trsvg48"><tspan font-family="Arial" id="trsvg20"> 90</tspan></text>
</switch>

What happens?:
Commons does not upload the file: it claims the tranlation already exists.

SVG Translate has not added the "0" translation; the SVG is unchanged.

What should have happened instead?:
The file should upload to Commons.

The new SVG should be

SVG expected
<switch>
  <text id="trsvg48-en"><tspan font-family="Arial" id="trsvg20-en">0</tspan></text>
  <text id="trsvg48"><tspan font-family="Arial" id="trsvg20"> 90</tspan></text>
</switch>

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

The other text elements work. It is just one text element that fails.

It may be that the leading space in " 90" is the problem.