docassemble icon indicating copy to clipboard operation
docassemble copied to clipboard

Internationalize basic_questions.yml

Open Gauntlet173 opened this issue 6 years ago • 2 comments

Right now basic_questions.yml presumes that the Individual and the Case is in the United States.

There are a couple of options. We could either modify basic_questions.yml with the correct information for additional jurisdictions, or we could add localized versions like basic_questions_ca.yml for Canada, etc.

Interested in thoughts on which would be the better approach.

Gauntlet173 avatar Jan 28 '19 06:01 Gauntlet173

I think the best way to do it is:

include:
  - docassemble.base:basic-questions.yml
  - docassemble.canada:basic-questions.yml

The question and code blocks in the second file would take precedence over the first, so they could override particular functionality when necessary for localization.

A lot could be done to improve docassemble.base:data/questions/basic-questions.yml; I haven't worked on it in a long time.

Another area that can use some work is the docassemble.base.legal module. I would encourage people to take the idea of this and expand it for their jurisdictions. Then if we collect several examples, we can see if we could agree on a convenient set of objects and methods for the litigation domain. This would hopefully be international. Note that the docassemble.base.legal module has the beginnings of a "hook" system, which is kind of complicated but is potentially very useful for developing "universal" methods like case.caption().

jhpyle avatar Jan 28 '19 14:01 jhpyle

I think this is a good idea but I agree with Jonathan also that the basic-questions could use a lot of fleshing out. Also building out the Legal classes. We may build some standard packages for use in Massachusetts but they will be a little different from what basic-questions does.

nonprofittechy avatar Jan 28 '19 14:01 nonprofittechy