Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#699 closed enhancement (fixed)

Use content language information in description fields

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

Description

The importer stores content language (xml:lang) information in description fields when available, see #667 & r5849.

Represent this information in the webapp by (in case of multiple languages) showing the language alternatives (with language labels/flags/...) and possibly showing the description in language matching the client's locale if available (or maybe always English as long as the VLO is in English).

Change History (7)

comment:1 Changed 10 years ago by DefaultCC Plugin

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

comment:2 Changed 10 years ago by Twan Goosen

Milestone: VLO-3.1VLO-3.2

Splitting 3.1 milestone. Most open tickets go to 3.2 so that we can have a release on the short term.

comment:3 Changed 10 years ago by Twan Goosen

Milestone: VLO-3.2VLO-3.1

All descriptions have a {lang='xxx'} prefix. In case of an unknown language, xxx is 'und'. Otherwise, it's a three letter ISO639 language code.

TODO:

  • skip language string in display of description
  • display the language information on the side or in a tooltip
  • (in case of multiple languages, sort by the client's language preference)

comment:4 in reply to:  3 Changed 10 years ago by Twan Goosen

Replying to twan.goosen@…:

  • skip language string in display of description

done in r5995:5996

comment:5 Changed 10 years ago by Twan Goosen

Made the LanguageCodeUtils available from VLO commons in r5997

comment:6 Changed 10 years ago by Twan Goosen

Resolution: fixed
Status: newclosed

Followed up by #738

comment:7 Changed 10 years ago by Twan Goosen

Fixes and refactoring in r6045:6046

Note: See TracTickets for help on using tickets.