template-archive icon indicating copy to clipboard operation
template-archive copied to clipboard

Support for Concerto Vocabularies

Open mttrbrts opened this issue 4 years ago • 3 comments

Feature Request 🛍️

With support for locale-specific vocabularies in Concerto, we can now expose locale variants to users of Cicero templates

Use Case

A localised Cicero template would allow reuse of the model and logic definition but with different text and terms depending on a user's locale.

For example, a contract written for Canadian law, could have text and model terms in both en-ca and fr-ca.

Possible Solution

A vocabulary for a template's model should follow the implementation that was recently created for Concerto.

Templates should include text for each locale that they support, with a default locale identified for backwards compatibility.

Open questions:

  1. Where should .voc files live in a Cicero template?
  2. Is a locale-specific parser useful?

Context

Detailed Description

mttrbrts avatar Jan 05 '22 21:01 mttrbrts

@mttrbrts can you elaborate on this a bit more, like what are we trying to achieve here by using vocabularies.

amanag25 avatar Jan 29 '22 15:01 amanag25

Thanks @amanag25 , I've added a little more detail.

This idea isn't well formed yet, and some discussion in this issue would be helpful before any code is written.

Do you have any suggestions?

mttrbrts avatar Jan 29 '22 16:01 mttrbrts