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

VIVO-1330: Support plurals in all languages #2921

Closed
Tracked by #3752
chenejac opened this issue Jun 9, 2017 · 1 comment
Closed
Tracked by #3752

VIVO-1330: Support plurals in all languages #2921

chenejac opened this issue Jun 9, 2017 · 1 comment

Comments

@chenejac
Copy link
Contributor

chenejac commented Jun 9, 2017

Mike Conlon (Migrated from VIVO-1330) said:

VIVO templates may assume that a plural can be achieved by adding an "s" to text.  Templates needing plurals should find plurals to use based on language files.  From Internationalization Task Force notes https://goo.gl/6YOt7A

 

We would propose the use of http://purl.org/net/vocab/2004/03/label#plural from Common RDF Vocabulary Labels Vocabulary (http://3roundstones.com/vocab/labels-20110606.html)

@Prefix label:http://purl.org/net/vocab/2004/03/label#

http://purl.org/ontology/bibo/Book http://www.w3.org/2000/01/rdf-schema#label "Buch"@De-De .

http://purl.org/ontology/bibo/Book http://purl.org/net/vocab/2004/03/label#plural "Bücher"@De-De .

<#Magazin> http://www.w3.org/2000/01/rdf-schema#label "Journal"@fr-FRA .

<#Magazin> http://purl.org/net/vocab/2004/03/label#plural  "Journaux"@fr-FRA .

@chenejac
Copy link
Contributor Author

This is not so trivial for all languages. The home page statistics is resolved rephrasing text and using universal text (see PR). The solution should also include all UI labels, might be resolved in the future by using a language structure ontology.

Repository owner moved this from Specified to Done in VIVO i18n Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant