The DSL (Dictionary Specification Language) format is a plain text file structure used by OmegaT to display rich dictionary lookups. Every file must begin with a header specifying the dictionary name, index language, and contents language, followed by the dictionary entries where headwords are flush left and all definitions are indented with at least one tab or space.
Tags in DSL are used to format text and organize definitions into logical sections. They function similarly to HTML tags and must be opened and closed properly around the targeted text.
[m1],[m2], etc.: Sets the left margin indentation level for the text block to create visual hierarchy. The closing tag is[/m].[trn]...[/trn]: Wraps the core translation or definition of the given word.[ex]...[/ex]: Indicates an example sentence illustrating how the word is used.