Computing: Free Pascal Programming

Multi-lingual 3-month calendar.

Download calendar desktop application (Windows 64bit) Download calendar source code (Lazarus/Free Pascal)

Description: The program displays the calendar of 3 consecutive months. Cursor keys and function keys may be used to go 1 month or 1 year backward or forward, to choose a given month and year, as well as to change the display language of month and day names (English, French, German, Luxembourgish and Spanish). The usage of the different keys is explained below the calendar display.

Change log:
Version 1.0 (June 2017): Original program
Version 2.0 (April 2020): Addition of UTF-8 support for correct display of non-English letters. Code review and comments addition.
Version 2.1 (May 2020):  Addition of Spanish language. Spelling errors correction. Some code modifications.

Note: If you experience problems with the correct display of letters with accents and umlauts in Windows Command Prompt, please have a look at my Lazarus command line tutorial.

Issue (note for programmers): On Linux (at least on Ubuntu 20), the presence of non-ASCII characters in the names of the days (Luxembourgish and Spanish) results in an improper display of the whole calendar. I must review this...

Free Pascal features: Usage of the Crt unit: Dividing the screen into windows; colored output at a given position within these windows; reading the keyboard key, that has been pressed. Usage of the date functions of the SysUtils unit. Adding UTF-8 support for non-ASCII characters (non-English letters) by using the LazUTF8 unit.


Luxembourgish calendar of March to May 2020