Thursday, January 10, 2013

OCRE en français

This week I have dedicated time to making Numishare more flexible with respect to switching interface languages.  Numishare has been able to use a "lang" URL parameter in record pages to display labels for Nomisma-defined numismatic concepts in alternative languages  for quite some time (by matching the lang param with the xml:lang in the skos:prefLabel in Nomisma's RDF).  However, most labels in the HTML interface were hard-coded into the XSLT.  Labels are now resolved through an XSL function which replies with the correct textual strong based on the field name and "lang" parameter.  While the Solr facets are still in English, the application is well on its way toward greater fluidity in transition between languages.  The next version of OCRE, a branch in the new Numishare GitHub repository, will support French, and possibly Arabic, thanks to the work being done by the ANS's collaboration with the Egyptian National Library to deliver its collection of Islamic coinage.

This work would not be possible if not for Nomisma.  When Nomisma supports an increased array of labels in alternative languages, it will be possible to provide Numishare public interfaces to a wider international audience.

The next version of OCRE will be available this spring, and will likely feature more physical specimens and findspots.

edit: By the way, the test version of OCRE pulls data about physical coins and hoards from a Fuseki SPARQL endpoint, an advancement that deserves its own dedicated post soon. The above screenshots show a widget in action that reads SPARQL query results and renders them in OCRE record pages and search results.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.