The unit gettext provides a way to internationalize an application with the GNU gettext utilities. This unit is supplied with the Free Component Library (FCL). it can be used as follows:
for a given application, the following steps must be followed:
TranslateResourcestrings(’intl/restest.%s.mo’);
|
the %s specifier will be replaced by the contents of the LANG environment variable. This call should happen at program startup.
An example program exists in the FCL-base sources, in the fcl-base/tests directory.