Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show non-english label if no English label exists #1

Closed
nichtich opened this issue Oct 12, 2016 · 3 comments · Fixed by #2310
Closed

Show non-english label if no English label exists #1

nichtich opened this issue Oct 12, 2016 · 3 comments · Fixed by #2310
Labels
internationalization making Scholia usable in more languages SPARQL the way Scholia queries Wikidata usability trying to minimize bad experiences while using Scholia Wikidata-labels the way things are named in Wikidata

Comments

@nichtich
Copy link
Contributor

At least for works as not everything is published in English and translating publication titles seems wrong. Unfortunately I don't know how to support any language. I stumbled upon this because of https://www.wikidata.org/wiki/Q27044176. To support at least some other languages change

SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } 

to

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr,de,ru,es,zh,jp". } 

and/or try to get the title via title propert https://www.wikidata.org/wiki/Property:P1476.

@fnielsen
Copy link
Collaborator

Danke for the suggestion. I have added the language fallbacks you suggested. This is presently only for the author pages. There may be a number of other pages where fallbacks could be nice.

@fnielsen
Copy link
Collaborator

For instance, https://tools.wmflabs.org/scholia/author/Q15303972 shows "Wikidata als Universalbibliographie: ein Kommentar"

fnielsen pushed a commit that referenced this issue Mar 30, 2017
@Daniel-Mietchen Daniel-Mietchen added internationalization making Scholia usable in more languages Wikidata-labels the way things are named in Wikidata usability trying to minimize bad experiences while using Scholia SPARQL the way Scholia queries Wikidata labels Aug 23, 2018
@Daniel-Mietchen
Copy link
Member

I think this is actually implemented for all aspects now, but have not checked them all yet.

fnielsen pushed a commit that referenced this issue Sep 17, 2019
merging latest from original repo
fnielsen pushed a commit that referenced this issue Apr 20, 2020
Update missing chemicals
fnielsen pushed a commit that referenced this issue Apr 20, 2020
updates to accommodate for Finn's feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internationalization making Scholia usable in more languages SPARQL the way Scholia queries Wikidata usability trying to minimize bad experiences while using Scholia Wikidata-labels the way things are named in Wikidata
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants