There are two examples presented here.
To enable the German language using the jed-software.inc file.
Existing
<jed-software.inc>
...
// Select the language you wish to use {$DEFINE LANG_ENGLISH} {.$DEFINE LANG_GERMAN} {.$DEFINE LANG_CZECH}
Change to
<jed-software.inc>
...
// Select the language you wish to use {.$DEFINE LANG_ENGLISH} {$DEFINE LANG_GERMAN} {.$DEFINE LANG_CZECH}
To define your selected language in the JSDialogStrs.pas unit do the following.
Existing
unit JSDialogStrs; { This unit is just a stub for the real strings unit. This is required to support unicode file format for BDS environments and an ansi file format for Delphi 6 and Delphi 7. } {$I jed-software.inc} {$IFDEF BDS} {$I JSDialogStrs.inc} {$ELSE} {$I JSDialogStrsDelphi.inc} {$ENDIF}
Change to:
unit JSDialogStrs; { This unit is just a stub for the real strings unit. This is required to support unicode file format for BDS environments and an ansi file format for Delphi 6 and Delphi 7. } {$I jed-software.inc} {$UNDEF LANG_ENGLISH} // must undefine LANG_ENGLISH {$DEFINE LANG_CZECH} // define strings to be LANG_CZECH {$IFDEF BDS} {$I JSDialogStrs.inc} {$ELSE} {$I JSDialogStrsDelphi.inc} {$ENDIF
Copyright © 2013 by LMD Innovative. All rights reserved.
|