Monolingual codes aren't available for labels/aliases, only for properties of the type monolingual text.

Mbch331

Op 22-6-2020 om 15:52 schreef Thomas Francart:
Hello

Le lun. 22 juin 2020 à 15:33, Federico Leva (Nemo) <nemowiki@gmail.com> a écrit :
Thomas Francart, 22/06/20 16:21:
> I also cannot use these 2 codes when editing through the human interface.

Language code validation on Wikidata is sometimes confusing. See also:
https://phabricator.wikimedia.org/T39459


Thanks, I read the page but am not sure to understand how it relates to the original question. Can you decode ? Does it explain why creating labels/aliases with code 'mul' or 'mis' fails using the API ?
 
Why "mis" instead of "und"? See also
https://phabricator.wikimedia.org/T230833#6103004


Sorry, I wrote "when the language value is unknown", but this was not precise : the original data we want to synch already contains data using code "mis" (as a valid ISO639-2 iso code, see https://www.loc.gov/standards/iso639-2/php/code_list.php), and as I read it was supported by Wikidata, I attempted to use that code directly through the API, with no luck. Similarly, original data uses code 'mul' (also a valid ISO639-2 code).

Thomas
 
Federico


--

Thomas Francart - SPARNA
Web de données | Architecture de l'information | Accès aux connaissances
blog :
blog.sparna.fr, site : sparna.fr, linkedin : fr.linkedin.com/in/thomasfrancart
tel : 
 +33 (0)6.71.11.25.97
, skype : francartthomas

_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata

Virusvrij. www.avast.com