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

Support Multilingual: Add in the UI a selector for which language to show for the ontologies data #165

Closed
Tracked by #307
syphax-bouazzouni opened this issue Jan 20, 2023 · 2 comments · Fixed by #216
Assignees
Labels
enhancement New feature or request

Comments

@syphax-bouazzouni
Copy link
Collaborator

syphax-bouazzouni commented Jan 20, 2023

Context

Currently, in the UI, we don't have any to show other data languages than English.

The idea is to give the user the possibility to show one on multiple languages in the UI for ontologies data, like concept prefLabel, synonyms, and definitions,...

References

see what's done in SKOSMOS and ShowVoc

Implementation

@syphax-bouazzouni syphax-bouazzouni changed the title Support Multi-lingual: Add in the UI a selector for languages to show for ontologies data Support Multi-lingual: Add in the UI a selector for which language to show for the ontologies data Jan 20, 2023
@jonquet
Copy link

jonquet commented Mar 8, 2023

After discussion today :

  • Selector to position ion the UI at the level of the ontology 'on the right)

image

This selector must be populated with the naturalLanguage metadata property and explicitly say if the property is empty (so that the admin can fill in).
  • We keep the no_lang values even when a language is selected
  • We never retrieve (no more fallback) other languages if the one specified is not found
  • UI should manage the nil and [] possibilities in the previous case.

@syphax-bouazzouni
Copy link
Collaborator Author

Deployed in production in #240

@jonquet jonquet changed the title Support Multi-lingual: Add in the UI a selector for which language to show for the ontologies data Support Multilingual: Add in the UI a selector for which language to show for the ontologies data Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants