Translation file
The description of layout templates as used in hints of button bar buttons are taken from the relevant translation file, depending on the set language. Notifications in template functions such as MESSAGE() can also use translatable texts.
Such a translation file is nothing more or less than a normal text file in ini format:
[translation] gTools = Toolbox gLayout = Layout layoutUse0bars = No fixed bars per line layoutUse4bars = 4 bars per line layoutUse8bars = 8 bars per line layoutOptimize = Optimize layout
If the first line of a layout template reads:
melody "#gLayout|#layoutOptimize";
and the language is set to English (en), then texts starting with # are looked up in the file en.translate. The relevant template will become visible in the template overview of / <F2> in the "Layout" section with the text "Optimize layout".
ADDPART • CALCULATE • CONFIRM • DELETEPART • ERROR • MESSAGE • MODIFYPART • OPENFILE • OPENLIST • PROMPT • REQUIRE • SAVEFILE • SELECTPART • SET • SETPART • TRANSPOSE • USEPATTERN • USETEMPLATE
FAQ • special constructs • conditions • parameters • variables • translation