cessda / cessda.cdc.versions

Issue track and wiki for the CESSDA Data Catalogue
https://datacatalogue.cessda.eu/
Apache License 2.0
0 stars 0 forks source link

Remove UI language entries in cases where no records are available at present #123

Open cessda-bitbucket-importer opened 5 years ago

cessda-bitbucket-importer commented 5 years ago

Original report on BitBucket by John Shepherdson (GitHub: john-shepherdson).


From: Eleanor Smith
Sent: 15 July 2019 12:46
To: Shepherdson, John W
Cc: Matthew Morris; Ron Dekker; Carsten Thiel
Subject: Re: CDC news story

Hi John,

The first changes mentioned in the news item refer to language. However, in the first three items listed, the first one is in Czech even though the language is set as English. The third is is just named “Title 2.1.1.1b” and the information text (in English) is missing. When you select languages at the top, on very many occasions, there are no records in the catalogue at all (cestina (Czech?), German, Estonian, French, Italian, Magyar, Portuguese, Russian, Swedish). Norwegian has one entry.

cessda-bitbucket-importer commented 5 years ago

Original comment by John Shepherdson (GitHub: john-shepherdson).


Check if a UI language choice can be removed without removing the language analyser and other behind the scenes configuration associated with that language. There is a risk that no index will be created for the removed UI language, in which case they will never be any records available in that language.

cessda-bitbucket-importer commented 5 years ago

Original comment by John Shepherdson (GitHub: john-shepherdson).


Removed following languages: cs, de, et, hu, it, nl, pt, sr, sv - results can be seen at [https://datacatalogue-dev.cessda.eu/](https://datacatalogue-dev.cessda.eu/)

cessda-bitbucket-importer commented 5 years ago

Original comment by John Shepherdson (GitHub: john-shepherdson).


Only edited one file: https://github.com/cessda/cessda.cdc.searchkit/blob/master/src/utilities/language.js to do this

cessda-bitbucket-importer commented 5 years ago

Original comment by John Shepherdson (GitHub: john-shepherdson).


Builds and deploys

MortenSikt commented 1 month ago

Checking the Czech language in the catalogue, this seems to be an issue again. Reopening