[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'gettext' (#fcl)

Reference for unit 'gettext'

Unit implementing resource string translation using gettext files

uses

  System,

  sysutils,

  Classes;

Overview

The gettext unit can be used to hook into the resource string mechanism of Free Pascal to provide translations of the resource strings, based on the GNU gettext mechanism. The unit provides a class (TMOFile) to read the .mo files with localizations for various languages. It also provides a couple of calls to translate all resource strings in an application based on the translations in a .mo file.


Documentation generated on: May 14 2021