Closed marcoagpinto closed 3 weeks ago
The activation/deactivation of categories can be controlled via the extension. Switching between different dictionaries is a matter for the LanguageTool core. I think it would be easier if you defined two language variants (old/new variant), which can then be switched via the option dialog.
Heya, @FredKruse ,
I am confused. Is it possible for you to toggle both dictionaries (AO45 and AO90) from the extension?
Thanks!
Hi @marcoagpinto, The extension works like this: The grammar and spell checkers work separately:
In both cases, however, a language would have to be defined within LT that corresponds to the old standard. Then the extension could also take this into account.
Heya, @FredKruse ,
Could this feature be implemented?
“AO” means “Acordo Ortográfico” (“Orthographic Agreement”) and we have the one from 1945 (before the agreement) and the one from 1990 (after the agreement).
My idea is this: o AO1945
<category id="AO90_RULES_PT_PT" name="[pt-PT] Regras do Acordo Ortográfico de 90 (pós-AO90)" type="misspelling" default='on'>
<category id="AO45_RULES_PT_PT" name="[pt-PT][AO45] Regras do Acordo Ortográfico de 45 (pré-AO90)" type="misspelling" default='off'>
pt_PT_45.aff + pt_PT_45.dic
o AO1990 (default)
<category id="AO90_RULES_PT_PT" name="[pt-PT] Regras do Acordo Ortográfico de 90 (pós-AO90)" type="misspelling" default='on'>
<category id="AO45_RULES_PT_PT" name="[pt-PT][AO45] Regras do Acordo Ortográfico de 45 (pré-AO90)" type="misspelling" default='off'>
pt_PT_90.aff + pt_PT_90.dic
Is it doable?
Thanks!