Page MenuHomePhabricator

Add es-ES Language to Wikidata
Open, Needs TriagePublic

Description

There are many things (like the titles of movies, example: Q836821) that have two language variations, one for Spain ("Guía del autoestopista galáctico") and one for Hispanic America ("Guía del viajero intergaláctico"). The policy on Spanish Wikipedia when this happens, is to use the English title, however, this means that the item's label in Wikidata is also in English and is not resolvable.

To resolve this, I propose that an es-ES language be added to Wikidata (and I suppose StructuredDataOnCommons). This way the Spanish label can be added in both variations, just like it can be in en, en-GB, en-CA etc.

Event Timeline

dbarratt added a project: Language-Team.

Adding the language team for their input, feel free to change the tags. :)

Since it's about labels, the language code needs to be added to ULS. But what language code would you use for Hispanic America? es is neutral as it's for both variants.
I don't know if adding 1 variant as an alias would suffice, because that way you don't need a separate language code for Spain.

Since it's about labels, the language code needs to be added to ULS. But what language code would you use for Hispanic America? es is neutral as it's for both variants.
I don't know if adding 1 variant as an alias would suffice, because that way you don't need a separate language code for Spain.

I mean we don't have a en-US so I'm not sure why adding one (en-GB as an example) wouldn't be sufficient.

Since it's about labels, the language code needs to be added to ULS. But what language code would you use for Hispanic America? es is neutral as it's for both variants.

We have es-419 for Latin American Spanish already.

We have es-419 for Latin American Spanish already.

I believe that is currently enabled purely for the donation interface, per comments in T112889: Adding Latin American Spanish as language code (but i only skimmed).

It seems it was removed from translatewiki in 2014 per https://phabricator.wikimedia.org/rGTWNf1a4aa21550ed84fee49008818685bde99c79092

So altogether the situation is complicated and needs input from language-team folks.
(I was looking for something else semi-related, and stumbled upon these 3 links :)

I believe that is currently enabled purely for the donation interface, per comments in T112889: Adding Latin American Spanish as language code (but i only skimmed).

It's definitely usable in Wikidata. I was able to use it for labels and monolingual text just now (link) and there are lexemes using it (e.g. L11729).

This is not a decision the language team can make. Maybe langcom could comment whether they think these codes are suitable and Wikidata devs need to see whether this can be done and is it technically okay.

If you decide to add these new code(s), the Language team can make sure they are supported in Language-data and ULS.

For film items, this could be useful in Wikidata.

Perhaps for something like movie titles in Wikidata it can be a qualifier rather than a language code?

After T341409 es-es (and es-mx) can be used for lexemes and for monolingual text. Support for labels is not covered.