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

l14n (localization) of shape descriptions #36

Open
ericprud opened this issue Jun 20, 2019 · 1 comment
Open

l14n (localization) of shape descriptions #36

ericprud opened this issue Jun 20, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ericprud
Copy link

In the Wikidata demo, when you hover over a predicate in a TripleExpression, it fetches the schema:description. Does it pick the language based on browser preferences?

It would be cool to extend this functionality by adding annotations to shapes as well, e.g.

<#P352_uniprot_id> {
	ps:P352 LITERAL ;
	prov:wasDerivedFrom IRI;
}
 // schema:description "UniProt identifier"@en
 // schema:description "identificador de UniProt"@es # just a guess

The editor could hide all of them except those in the preferred language so it wouldn't get to messy.

@ericprud ericprud changed the title l14n (localization) questions and ideas l14n (localization) of shape descriptions Jun 20, 2019
@mistermboy
Copy link
Member

Implemented the part of the preferred language when hovering over a TripleExpression.

The other idea maybe would be in a future version.

Thank you for your contribution :)

@mistermboy mistermboy added the enhancement New feature or request label Jan 9, 2020
@mistermboy mistermboy self-assigned this Jan 9, 2020
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

No branches or pull requests

2 participants