This plan sounds great! Thank you!

A question about the tags used: would it be possible instead of having a 
"mis+Q7654321" internally and "mis" externally to use a private use subtag [1] 
like "mis-x-Q7654321" or "de-x-Q1980305" (or maybe "mis-x-wd-Q7654321" and 
"de-x-wd-Q1980305") that would be used both internally and externally? It has 
the advantage of being a valid BCP-47 code and allowing RDF users to extract 
the exact language (and not only the less very informative "mis"). A variant 
would be to use "x-Q7654321" instead of "mis-x-Q7654321" to avoid the "mis" tag 
entirely.

An other possible way to go: just store the Qid internally and retrieve 
language tag from the item to build something like de-x-wd-Q1980305 when 
generating the output (or maybe just "de" if the output user do not want to 
have custom extensions).

Thomas

[1] https://tools.ietf.org/html/bcp47#section-2.2.7

> Le 11 avr. 2017 à 03:01, Stas Malyshev <[email protected]> a écrit :
> 
> Hi!
> 
>> For instance, we not only need identifiers for German, Swiss and
>> Austrian German. We also need identifiers for German German before
>> and after the spelling reform of 1901, and before and ofter the
>> spelling reform of 1996. We will also
> 
> Theoretically, BCP 47 should be able to handle this? E.g. they have
> sl-IT-rozaj-biske-1994 as an example. But we probably shouldn't try to
> construct these tags ourselves, but instead let editors specify them.
> 
>> need identifiers for the "language" of mathematical notation. And for
>> various
> 
> That's where using zxx-math or something like that would be useful? Or
> we could omit any tags from those at all.

There is the Zmth script subtag for that.

>> The only system I know that gives us that flexibility is Wikidata.
>> For interoperability, we should provide a standard language code (aka
>> subtag). But a language code alone is not going to be sufficient to
>> distinguish the different variants we will need.
> 
> I think it can be, using BCP 47 extensions, but Wikidata team should not
> be taking care of it - instead, Wikidata editors should do it by
> assigning language tag properties to specific Wikidata items.
> --
> Stas Malyshev
> [email protected]
> 
> _______________________________________________
> Wikidata mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikidata

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to