Juris-M / legal-resource-registry

Jurisdiction ID and abbreviation data files for using with Jurism and other projects.
MIT License
31 stars 37 forks source link

Default language is not reachable #23

Closed georgd closed 3 years ago

georgd commented 3 years ago

Since the great new developments, it’s no longer possible to use the default language in citations if a second language is defined. Using the appended record as input together with jm-indigobook-law-review and the document language in Word set to en-US, I receive the following output:

Crown Forest Industries Ltd. v. Canada, Tax Treaty Case Law IBFD (CSC Jun. 22, 1995).

The court abbreviation should read SCC instead of CSC.

[
  {
    "type": "legal_case",
    "title": "Crown Forest Industries Ltd. v. Canada",
    "authority": "Supreme Court",
    "issued": {
      "date-parts": [
        [
          1995,
          6,
          22
        ]
      ]
    },
    "shortTitle": "Crown Forest",
    "note": "",
    "multi": {
      "main": {},
      "_keys": {}
    },
    "archive": "Tax Treaty Case Law IBFD",
    "jurisdiction": "ca"
  }
]
fbennett commented 3 years ago

This is our language arbitration bug at work. https://github.com/Juris-M/citeproc-js/issues/151

fbennett commented 3 years ago

Closing this, as the bug is in Jurism, citeproc-js and the Abbrevs Filter, not the LRR itself.

fbennett commented 3 years ago

Popping this open to say that a Jurism beta 5.0.90m7 beta is out, with a fix for locale arbitration of jurisdiction abbrev lists (and then close again...)