Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

GnuGetText-for-Delphi

Gnu GetText Tools for Delphi

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Gnu GetText Tools for Delphi

based on DxGetText by Lars B. Dybdahl

In addition to the revised original programs, some auxiliary programs with Windows GUI are provided.

Revised original programs

  • ggdxgettext: Extract strings from Delphi sources and create po template,
    new features: selectable text domains, excludable subirectories, enhanced command line options
  • ggmerge: Merge translation with updated template
    new features: selectable files, UTF-8 encoding by default, enhanced command line options
  • ggfmt: Convert po file to mo file and reverse
    new features: enhanced command line options
  • ggassemble: Embed po translations into exe file
    new features: enhanced command line options
  • GnuGetText and GnuGetTextInit: GNU gettext translation system for integration in Delphi, Lazarus and C++ Builder applications
    new feature: optional embedding as resources

Windows GUI programs:

  • GgtTranslate: GUI to manage translations
  • PoCompare: Compare and merge two translations
  • PoImport: Import translations from another po file (only not translated strings)
  • PoFromPas: Insert strings from Delphi units (resourcestring) to po file (msgstr)
  • TransUnit: Create translated Delphi unit using strings from po file
  • PoSpell: Spell checker for translated strings (msgstr) using HunSpell
  • PoStat: Show po file header and statistics
  • PoComment: Insert translations (msgstr) as comments to a template
  • PoToIss: Convert strings from a po file into format used in InnoSetup scripts
  • IssToPas: Convert [CustomMessages] section of iss file to Delphi unit (resourcestring)
  • German Translations for programs and Windows context menus

New in version 4:

  • Integrated editor for exclude conditions (exclude.cfg)
  • Selection of desktop language
  • Selection of an alternative icon design
  • Support for dark display mode
  • Improved display on high-resolution screens

Utility units:

  • LangUtils: Initialization of the translations, language selection via ini file, command line and menu extension
  • ImageLoader: Loading an alternative set of SVG icons when the program starts
  • StyleUtils: Support for loading and changing the display style (e.g. light or dark)

Download of Windows executable package

English homepage / German homepage

Notes:

The following programs from the GnuGetText package are required

  • xgettext.exe
  • msgfmt.exe
  • msgunfmt.exe

Sources / Windows binaries