Rudolf de Grijs wrote: > > Could someone tell me what I need to do if I want to add a compiled > dictionary containing specific terminology to an existing composite > dictionary. > > Since most dictionaries contain variations on the original language > (e.g. en-US) do I need to replicate the custom compiled dictionary (for > every variation) or does it suffice to put this compiled dictionary next > to the 'main' dictionary (that would be en in the case of the English > dictionary)?
No. > There is only one main compiled dictionary that contains > specific terminology (but every language has its own compiled dictionary). > > --> What follows is documented here: http://www.xmlmind.com/_dictbuilder/doc/index.html and more specifically here: Extending dictionaries http://www.xmlmind.com/_dictbuilder/doc/dict_types.html#d0e120 --> Let's take fr.dar as an example. Like all dictionaries made available by XMLmind, fr.dar is a JAR file having a .dar extension. You need to replace the stock fr.dar by another one containing French words plus your specific terminology. This is done as follows: [1] Unzip fr.dar $ jar xvf fr.dar created: META-INF/ inflated: META-INF/MANIFEST.MF created: fr/ inflated: fr/default inflated: fr/base.cdi inflated: fr/allvar.cdi created: fr-CA/ inflated: fr-CA/default inflated: fr-CA/spec.cdi created: fr-BE/ inflated: fr-BE/default inflated: fr-BE/spec.cdi created: fr-CH/ inflated: fr-CH/default inflated: fr-CH/spec.cdi [2] Copy your compiled dictionary terms.cdi next to base.cdi $ cp ~/terms.cdi fr $ ls fr/ allvar.cdi base.cdi default terms.cdi [3] Edit fr/default using a text editor: --- @multilink: French base.cdi allvar.cdi --- Add term.cdi to the list. This gives you: --- @multilink: French base.cdi allvar.cdi terms.cdi --- [4] Also edit fr-CA/default, fr-BE/default, fr-CH/default. For example, fr-CH/default is: --- @multilink: French (CH) ../fr/base.cdi spec.cdi --- You need to change it to: --- @multilink: French (CH) ../fr/base.cdi spec.cdi ../fr/terms.cdi --- [5] Zip the modified directories $ jar tvf fr.dar fr fr-BE fr-CA fr-CH

