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

Language choice in multilingual vocabularies #788

Open
NancyL opened this issue Jun 4, 2018 · 3 comments
Open

Language choice in multilingual vocabularies #788

NancyL opened this issue Jun 4, 2018 · 3 comments

Comments

@NancyL
Copy link

NancyL commented Jun 4, 2018

CEDAR does not seem to read language extensions (@en, etc.). In using a multilingual vocabulary, I am getting a mix of languages in a drop down value list. I believe it is simply using the first language it finds. Ideally, we would be able to choose the language; at least temporarily could we could favor @en?

@martinjoconnor
Copy link
Member

martinjoconnor commented Jun 4, 2018

What do you mean by 'read'? Are you referring to the preferred labels from BioPortal?

CEDAR has essentially no explicit language handling either for display of BioPortal labels or for encoding strings in a particular language.

JSON-LD has a @language tag (https://json-ld.org/spec/latest/json-ld/#string-internationalization, https://json-ld.org/spec/latest/json-ld/#language-indexing) that could serve as a starting for some of this support.

@NancyL
Copy link
Author

NancyL commented Jun 4, 2018 via email

@michelleif
Copy link

Screenshots of example: The term with id "eng" from the vocabulary MARC-LANGUAGES has 2 preflabels:
"English"@en
"Englisch"@de
In BioPortal, Preferred Name is shown as "English" but when you make a field in a CEDAR template, and choose Values to constrain the field, search for the term "English" and narrow my search to the MARC-LANGUAGES ontology, that same term appears but it's shown as "Englisch" not "English". Screenshots attached.
And this is possibly related to ncbo/goo#95

BioPortal_MARC_language.png
CEDAR_MARC_language.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants