I always wondered why the assemble tool in dxgettext appends the translation files directly to the executable rather than using the existing mechanism of resources. This is no longer necessary. I have updated the gnugettext code to optionally use RCDATA resources named after the files. So you e.g. create a translations.rc file as LOCALE_DE_DEFAULT RCDATA … Continue reading Storing gnugettext translations as resources
Category: dxgettext
updated assemble.exe in dxgettext repository
My colleague Daniel has added an option to the dxgettext assemble tool to specify a different directory where to look for the locale data. This is meant to be used, when you compile the executable to a different directory than the one in which the locale subdirectory is located. Since dxgettext would use the locale … Continue reading updated assemble.exe in dxgettext repository
Bugfixes and improvements to gnugettext.pas
Some might know that I have been using and contributing to the GnuGetText for Delphi and C++ Builder project. I just had another look into the gnugettext unit and found that it was rather difficult to understand the logic behind all these if(n)defs that refer to specific Delphi versions and older. I have now changed … Continue reading Bugfixes and improvements to gnugettext.pas
GnuGetText.pas with support for TWideStrings properties
The current version of GnuGetText for Delphi and C++ Builder does not support properties of type TWideStrings. Since I needed this (FastReport uses them for storing the report memos), I have added that feature. The new unit is in the subversion repository on SourceForge. Be warned: I have only tested it with Delphi 2007. If … Continue reading GnuGetText.pas with support for TWideStrings properties
gnugettext.pas fixes
I don't know whether anybody else but Lars knows that I have been a contributor to the dxgettext (GnuGettext for Delphi and C++ Builder) project. As such I have just committed fixes to the gnugettext.pas version in the repository that makes it compile with all Delphi versions from 6 to XE3 again. I have only … Continue reading gnugettext.pas fixes