Opened 3 years ago
Closed 3 years ago
#5073 closed defect (fixed)
Localized docs are broken structurally
Reported by: | strk | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.3.0 |
Component: | l18n | Version: | master |
Keywords: | Cc: |
Description (last modified by )
Running make -C doc check-localized
shows many errors in multiple languages.
Example:
make[2]: Entering directory '/home/src/postgis/postgis/doc/po/pt_BR' /usr/bin/perl -lpe "s'@@LAST_RELEASE_VERSION@@'3.3.0dev'g;s'@@POSTGIS_DOWNLOAD_URL@@'http://postgis.net/stuff'g;" postgis.xml > postgis-out.xml /usr/bin/xsltproc --novalid --path . xsl/postgis_aggs_mm.xml.xsl postgis-out.xml > postgis_aggs_mm.xml /usr/bin/xmllint --loaddtd --path . --xinclude --valid postgis-out.xml > /dev/null reference_management.xml:557: element funcprototype: validity error : Element funcprototype content does not follow the DTD, expecting (modifier* , funcdef , (void | varargs | (paramdef+ , varargs?)) , modifier*), got (funcprototype funcprototype ) > </funcprototype> ^
Change History (7)
comment:1 by , 3 years ago
Description: | modified (diff) |
---|
comment:2 by , 3 years ago
comment:3 by , 3 years ago
The IDREF attribute linkend references an unknown ID
issue is already reported as #5059
comment:6 by , 3 years ago
I found many translations having different tagset than source strings, in particular <para> tags being in the translation but NOT in the original string. I suspect these are inserted due to fuzzy-matching which we may want to disable to avoid these occurrences.
Note:
See TracTickets
for help on using tickets.
[d137d9d6b97258024b7a4f8f27ba7de7b589bf3e/git] fixed many structural issues in pt_BR translation. A lot more are due to
IDREF attribute linkend references an unknown ID
which are due to id strings not translated (should be copied verbatim). Not sure how to automate this, unless weblate allows automatically translating things that are in the Glossary, and we add all the ST_ function names and identifiers in the glossary