Opened 10 years ago

Closed 9 years ago

#553 closed enhancement (fixed)

Include and process languageCode facet field

Reported by: Twan Goosen Owned by: Twan Goosen
Priority: critical Milestone: VLO-3.1
Component: VLO web app Version:
Keywords: Cc: teckart@informatik.uni-leipzig.de

Description

A field 'languageCode' is now created by the importer (see #547). Depending on the available information, it will generate a value in one of two formats:

  • code:{ISO639-3 code}
  • name:{non-standardised name}

In the first case, the language code should be mapped to a (localised) language name read from a resource (probably a property file generated from the iso639-3 list).

In the second case, the name should be shown without the prefix.

The verbatim value should be used in queries, URL parameters etc.

Notice: this facet will replace the existing 'language' and 'languages' fields and should be renamed to 'language' after removal of these two fields.

Change History (9)

comment:1 Changed 10 years ago by DefaultCC Plugin

Cc: teckart@informatik.uni-leipzig.de added

comment:2 Changed 9 years ago by Twan Goosen

Priority: majorcritical

The importer/solr prerequisite #547 has been completed by Thomas. Turning this into a 'blocker' as the changes need to be reflected in the webapp.

Notice that the facet 'languageCode' needs to be renamed to 'language', replacing both 'language' and 'languages' after this has been completed and it has been assured that neither of the old facets is still used in the webapp.

comment:3 Changed 9 years ago by Twan Goosen

Made the LanguageCodeUtils available from VLO commons in r5997

comment:4 Changed 9 years ago by Twan Goosen

Replace 'language' and 'languages' fields with 'language code' in r5999, then implemented a label that converts the language code/name strings to language names and applied this to various panels in r6002:6003.

TODO: generate link to language info page

comment:5 Changed 9 years ago by Twan Goosen

Sorting of 'all values' based on converted value in r6005:6007

comment:6 Changed 9 years ago by Twan Goosen

Link to language info page & converted value display in breadcrumb in r6010:6012
Also includes a handle api json parsing fix

comment:7 Changed 9 years ago by Twan Goosen

Resolution: fixed
Status: newclosed

comment:8 Changed 9 years ago by Twan Goosen

Resolution: fixed
Status: closedreopened

Search/Filtering? should also happen on basis of converted values

comment:9 in reply to:  8 Changed 9 years ago by Twan Goosen

Resolution: fixed
Status: reopenedclosed

Replying to twan.goosen@…:

Search/Filtering should also happen on basis of converted values

Fixed in r6040

Note: See TracTickets for help on using tickets.