gbv / coli-ana

API to analyze DDC numbers
https://coli-conc.gbv.de/coli-ana/app/
MIT License
2 stars 0 forks source link

Interface: support switching language of DDC labels #7

Closed nichtich closed 2 years ago

nichtich commented 3 years ago

We have DDC at least in German via https://coli-conc.gbv.de/api/ and in Norsk via http://data.ub.uio.no/skosmos/ddc/, so support switching between these DDC backends to select language of DDC labels. Alternatively name it "DDC source" or similar instead of language with same effect.

nichtich commented 3 years ago

See at OCLC for a list of DDC translations. Available under a CC license, at least German, Norks, and Swedish.

stefandesu commented 2 years ago

I implemented switching of label language with Norsk as the first alternative option. Code can still be cleaned up a little bit, and we could discuss the interface. It is only a first suggestion, so please give feedback! See Dev.

stefandesu commented 2 years ago

What's also missing is that the chosen language is not remembered, i.e. after a reload of the page, it will return to German as the default. I would suggest simply adding a URL parameter for this if it's a language other than the default. Much easier to implement than using local storage or cookies.

stefandesu commented 2 years ago

Please let me know if there are any other languages of DDC available via an API. I couldn't find any other but I'm sure they are out there.