Giter Site home page Giter Site logo

Comments (11)

fbennett avatar fbennett commented on September 13, 2024

Your latest juris-fr-desc.json source compiles and runs nicely in the client, and language arbitration does work. (The auto-ca.json and auto-ca-fr.json files are generated automatically.) To set up, I have something like this in my home-directory ~/.jurisUpdate config file:

{
  "path": {
    "dataDir": null,
    "jurisAbbrevsDir": "/path/to/jurism/data/dir/juris-abbrevs",
    "jurisMapDir": "/path/to/jurism/data/dir/jurism/juris-maps",
    "jurisSrcDir": "/path/to/lrr/source/repo/juris-desc/src"
  }
}

Running jurisupdate updates the abbrev and UI menu map files and bumps their versions. If all goes well, the changes will be picked up by the client when it is restarted. If that doesn't work, let me know: my setup is slightly different, updating into a source repo from which I build build and run a fresh copy of the client. But it's intended that updates into the Jurism data dir, without a client rebuild, will also work.

from legal-resource-registry.

sam-gagnon avatar sam-gagnon commented on September 13, 2024

I have run jurisupdate, and I manually checked the map and abbrev files in my Jurism data directory, and I've confirmed that they are correct and updated.

However, when I launched Jurism, the UI court and jurisdiction names in the citation items are still displaying in english.

Actually, it is weirder than that. For exemple, if I select "Ontario" as the jurisdiction, and then press the down arrow under "Tribunal", the drop down list is in english. However, whenever I select one of them, the court is then highlighted in yellow, as if it was an unrecognized court.

So not only are the french versions not showing up for me, the selections that are available for the drop down menu aren't getting recognized as valid.

from legal-resource-registry.

fbennett avatar fbennett commented on September 13, 2024

What is your installed Jurism version?

from legal-resource-registry.

sam-gagnon avatar sam-gagnon commented on September 13, 2024

5.0.90m3

from legal-resource-registry.

fbennett avatar fbennett commented on September 13, 2024

That would be the cause---the language arbitration smarts had only been added to the beta. A fresh release just went up though (5.0.90m4 / 5.0.90m5 on the Mac) that incorporates the changes. If you update the client, it should behave better.

from legal-resource-registry.

sam-gagnon avatar sam-gagnon commented on September 13, 2024

Just did the update!

The court name are displaying in the correct language! However, I am unable to get the french name of the canadian subjuridictions provinces to show up in french.

from legal-resource-registry.

fbennett avatar fbennett commented on September 13, 2024

Good news as far as it goes! Still some work to do then, it seems.

from legal-resource-registry.

sam-gagnon avatar sam-gagnon commented on September 13, 2024

I think there may be some relation between this and the other issue I've opened.

Nowhere in the map file are the jurisdiction variant name values noted, whereas the variant name of courts are. Could that be part of the problem?

from legal-resource-registry.

sam-gagnon avatar sam-gagnon commented on September 13, 2024

Good news as far as it goes! Still some work to do then, it seems.

Yeah! A fantastic update! Displaying the court names in French is already a massive leap forward.

from legal-resource-registry.

fbennett avatar fbennett commented on September 13, 2024

from legal-resource-registry.

fbennett avatar fbennett commented on September 13, 2024

Ha. In the code, I discovered that I intended to make jurisdiction names locale-aware, but the variants were just being skipped because of a typo. This will work in the next release.

from legal-resource-registry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.