Mvolz added a comment.
In T217258#4988550 <https://phabricator.wikimedia.org/T217258#4988550>, @Pintoch wrote: > If you need a mapping from ISO language codes to Wikimedia ones, Wikidata-Toolkit has such a mapping: https://github.com/Wikidata/Wikidata-Toolkit/blob/3e62f93b137c25961c5a12172c7f213a720ecb67/wdtk-datamodel/src/main/java/org/wikidata/wdtk/datamodel/interfaces/WikimediaLanguageCodes.java > > It might not be the most up to date mapping you can get though (I would be interested in updating it but I haven't investigated how to do that) This is great, thanks! In T217258#4988684 <https://phabricator.wikimedia.org/T217258#4988684>, @Lucas_Werkmeister_WMDE wrote: > For monolingual text values, you can fall back to `und` (undetermined) if the language is not recognized. > > For the label, I think it would be acceptable to use the English label – it’s fairly common for works (especially works of art) to have the label in a different language (for example, Q1061035 <https://www.wikidata.org/wiki/Q1061035>’s German label is //La trahison des images//, the French title), and if I understand correctly this would be the label of an item for the citation, which should qualify as a work. > > For the Wikidata item, it’s probably best to omit the statement altogether (or use //unknown value//? but that usually means that the value is known to be unknown, which doesn’t really fit here) if no corresponding Wikidata item is found. 👍 TASK DETAIL https://phabricator.wikimedia.org/T217258 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mvolz Cc: Lucas_Werkmeister_WMDE, Pintoch, Aklapper, Mvolz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, Shangkuanlc, mobrovac, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs