Monday 29 September 2008

GNU gettext for Delphi 2009

I just spent a little time testing dxgettext with Delphi 2009, and it was easy to make it work with the new string types, even though this code is really exploiting a lot of the things you can do with character sets. This also means that there is new stuff on the homepage. It is nice to see that CodeGear is back in business, providing seriously useful enhancements while keeping backwards compatibility.

4 comments:

Anonymous said...

"It is nice to see that CodeGear is back in business, providing seriously useful enhancements while keeping backwards compatibility. "

And that is one of the greatest things in Delphi - A new version comes out and chances are that you will spend 5 minutes moving your code up.
The same can not always be said about other tools...

Anonymous said...

"And that is one of the greatest things in Delphi - A new version comes out and chances are that you will spend 5 minutes moving your code up."

Unfortunately that can't be said about every code. I have spent several hours on the GExperts formatter and it doesn't even come close to working...

Anonymous said...

Lars thanks for this conversion!

Is the file linked here (copied from here http://dybdahl.dk/dxgettext/) http://svn.berlios.de/svnroot/repos/dxgettext/trunk/dxgettext/sample/gnugettext.pas
really the latest version with D2009 support?

I wonder because you (or sbdy else) declared a compiler directive VER200 at the very beginning which is not used throughout the rest of the source code.

Michael

Lars D said...

Yes - it's the latest version. Please direct your questions to the dxgettext forum instead of this blog.