[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Language Definition
GoldED allows you to almost completely redefine the language
dependent text in the program.
The language dependent text in GoldED is defined in the plain ASCII
text GOLDLANG.CFG file.
See the example language file for the actual method and format of
language redefinition.
If you are planning to translate the text in GoldED, you should
also look into the definition of the help screens.
If you think you have made a good set of translated files, you
should contact the nearest registration or support site for
official distribution of your files with future versions and/or
with disk registrations.
You do not need permission from the author before announcing or
distributing your own modified language files.
Date/Time Substitution Codes
A few of the language texts can contain special date/time
substitution codes. The keywords for those are: MS_DateTimeFmt,
MS_DateFmt, MS_TimeFmt and ST_StatuslineTimeFmt.
Here are the valid substitution codes:
%a Abbreviated weekday name (Mon, Tue, Wed, ...).
%A Full weekday name (Monday, Tuesday, Wednesday, ...).
%b Abbreviated month name (Jan, Feb, Mar, ...).
%B Full month name (January, February, March, ...).
%e Day of month, with leading space for single digits (1-31).
%d Day of month (01-31).
%H Hour (00-23) (24-hour clock).
%I Hour (01-12) (12-hour clock).
%j Day of the year (001-366).
%m Month (01-12).
%M Minute (00-59).
%p AM or PM according to 12-hour clock.
%S Second (00-59).
%U Week number (00-52) where sunday is first day of the week.
%w Weekday (0-6) where 0 is sunday.
%W Week number (01-53) where monday is first day of the week.
%y Year without century (00-99).
%Y Year with century.
%% Character '%'.
The %a, %A, %b and %B codes substitute to the current language
setup loaded using the LOADLANGUAGE keyword.
*** NOTE ***
In the continuing development of GoldED, it is impossible to
completely maintain backward compatibility of the language format
or the text defined there. New features may add and/or obsolete
some definitions, or may change the format of others.
The existing language file may contain definitions which are
already obsolete, but which I haven't had time to search for and
remove, as well as there may be some texts in GoldED which are not
yet definable. All this will of course be corrected in future
versions. If you find inconsistencies, please report them, because
I may have overlooked them.
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson