-
Notifications
You must be signed in to change notification settings - Fork 4
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 for multilingual names using as:displayNameMap #30
Conversation
awesome, thanks @elf-pavlik for helping support internationalization early. 😄 relevant docs on JSON-LD language maps, i wanted to look up if this was the only way to do it. i wish there was a way to have a single property name that could be either a string of a single language or an object of multiple languages, since as an implementor i have no idea what to do when both are given, personally my instinct is to ignore the former if the latter is given. i'm unsure about using |
made an issue with my comments in mind, i'm happy to merge this in now. |
support for multilingual names using as:displayNameMap
Ok, so on vocabulary level we only have vf:displayName and only JSON-LD context introduces displayNameMap alias to simplify usage only in JSON-LD
of course eventual https://valueflo.ws/ns/displayName should include section about existence and usage of displayNameMap and https://valueflo.ws/ns/displayNameMap should redirect to it we could explain general approach in something like https://valueflo.ws/docs/multilingual I will create an issue in valueflo.ws repo about what options we have for using paths and subdomain from namespace and docs valueflows/valueflo.ws#7
Can you please provide concrete alternative for taabir.jsonld? Otherwise I would propose merging this PR and than pick up conversation when new PR with concrete alternative appears. BTW at some point in near future we should leave comfort of vf: namespace and start switching equivalent terms to foaf: skos: org: etc. At this stage we can decide to use rdfs:label or skos:prefLabel instead of vf:displayName. For now I simply used displayName because of usage of the same JSON-LD context mapping trick as AS2.0 draft. |
+1 I'd like to do that now. Do the research we need, make a decision. Easier to reference someone else's vocab than define your own. Also I think we should think of this as a stage of prototyping our first round trip, make it as good as we can within some reasonable limits of research time, and then assume that as others start to use it and review it, we will make some changes in that area. |
keen, especially for the vocabs that do one thing and do it well (e.g. SKOS, QUDT). i'll admit i'm still skeptical about using |
modeled after http://www.w3.org/TR/activitystreams-core/#naturalLanguageValues
example in JSON-LD Playground of Group '(Taabir) تعبير' http://tinyurl.com/q8ptu7c