stefan-jung / org.jung.terminology

DITA-OT plugin for managing terminology with DITA
https://stefan-jung.org/plugins/terminology
Apache License 2.0
11 stars 8 forks source link

DITA Termchecker should offer terms without region code in language as replacement #4

Closed stefan-jung closed 7 years ago

stefan-jung commented 7 years ago

If termchecker rules are generated for terms with a region code, e.g. en-GB, than terms without a region code, e.g. en should be offered as replacements.

<fullForm usage="preferred" language="en">
  <termVariant>anti-lock braking system</termVariant>
</fullForm>
<fullForm language="en-GB" usage="notRecommended">
  <termVariant>anti-skid braking system</termVariant>
</fullForm>
stefan-jung commented 7 years ago

Implemented with 19a2b9876ec42f8b842f73c71b88364cb6ad02cf