Locale-files (*.lcl)
Locale files store information
about strings of Mail Box Dispatcher. Locale Filename
looks like: '<name>.lcl', where
<name> is name of language. When Mail Box
Dispatcher starts, it loads list of all locale
files from main directory. You can activate any
loaded language set just by selecting one in options
menu.
Structure of language
set
Locale file is simple plain text
and has next structure:
[SectionName1]
nameofstring1=String1
nameofstring2=String2
nameofstring3=String3
...
[SectionName2]
nameofstring4=String4
nameofstring5=String5
...
...
Mail Box Dispatcher uses SectionName-s
and nameofstring-s to identify each string and
load it. String values are strings after '=' character.
Create New Locale
To create new locale file, make
a copy of English.lcl with other filename - NewLanguage.lcl
for example. Launch any text editor and open NewLanguage.lcl
as plain text. Now you can translate strings.
Note: don't modify SectionName-s and nameofstring-s
because its used by Mail Box Dispatcher to find
strings. Edit only strings after '=' character.
Finish
Now launch Mail Box Dispatcher
and select NewLanguage in Options menu. Don't
forget to help other! Please send it to me (locale@anti-spam-tools.com)
and other people can use it also to fight spam.
HOME