[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Unit implementing resource string translation using gettext files
uses |
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.