thiemowmde added a comment.

@Addshore wrote:

> The module returns [...] details about the entity matched in the display 
> language


Did you ever tried to build a renderer on top of this?

  {
      "search": [
          {
              "match": {
                  "type": "label",
                  "language": "ko",
                  "text": "\uc11c\uc6b8\ud2b9\ubcc4\uc2dc"
              }
          },
          {
              "match": {
                  "type": "alias",
                  "language": "ko",
                  "text": "\uc11c\uc6b8\ud2b9\ubcc4\uc2dc 
\uc9c0\ud558\ucca0\uacf5\uc0ac"
              }
          }
      ]
  }

It may be a stretch, but I do not think anybody is using these bits of the 
JSON. People use the "label" and "aliases" fields.

But even without that, what's the point of returning some fields in one 
language and other fields in the **same** data structure in an **other** 
language? What's the use case for that? As I said, as an "immediate 
translation" option, why not. But why by default?


TASK DETAIL
  https://phabricator.wikimedia.org/T109584

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: Lydia_Pintscher, Jonas, Addshore, thiemowmde, Aklapper, Wikidata-bugs, aude



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

Reply via email to