Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Hi all, I would like to add localized messages for the schematron
It looks like schematron_xml.xsl is used to check rules during editing.
For the schematron.xsl, this file is used to create the report.
If we follow the way we manage localized file for schema based string,
we should place in schemas/iso19139/loc/en|fr|es.../schematron.xml all
strings needed for the schematron and then use those strings in xsl files ?
Another option, could be to add an xml:lang attribute to the
<geonet:diagnostics> elements ?
First option looks better.
Any thoughts ?
I'm not sure you're working on adding localized file for schematron
report (see my previous post on that
I made a patch on that and post it on the trac. See
The patch add a schematron.xml file in each languages (as usual) and
schematron_xml.xsl and schematron.xsl have been modified to use the
localized file. The DataManager then take the context language into
account before producing the report. I also removed duplicate message
for both JS popup and HTML report using escaped HTML character and add
geonetwork.css to the HTML report.
It could be fine if you have time to review the patch (then I could add
it to the trunk) if that sounds fine for all.