Share

GNU Gettext for Delphi, C++ and Kylix

Code

Programming Languages: Delphi/Kylix, Pascal, C++, C, Object Pascal

License: Other License, GNU General Public License (GPL), Mozilla Public License 1.1 (MPL 1.1)

Repositories

browse code

See http://developer.berlios.de/svn/?group_id=3252 for further information.

Show:

What's happening?

  • Output and Error Redirection Fails

    Hi, I use the batch file below, to extract strings from source after building, as part of a larger build process. So I would like to log the output and error but the log is always empty. Regards, Raghu ================= @pushd. @cd /d . @REM - Adjust this to suit your path @if "%DXG_PATH%"=="" ( set DXG_PATH=C:\Programs\dxgettext ) @set DXG="%DXG_PATH%\dxgettext.exe"...

    2009-04-30 12:11:10 UTC by nobody

  • GNU Gettext for Delphi, C++ and Kylix

    dybdahl added shablya to the GNU Gettext for Delphi, C++ and Kylix project.

    2009-02-03 13:45:07 UTC by dybdahl

  • GetListOfLanguages

    Hello Lars, In gnugettext.pas, I don't understand this line: langcode := lowercase(sr.name); I think there must be a reason... But with sublanguages (like en_GB or pt_BR) the name cannot be resolved by languagecodes (po or pas method). I have to change this line by: langcode := sr.name; And everything work fine! Please, have you got any advice about this? Best regards...

    2008-11-05 09:17:15 UTC by valanc

  • TOpenTextFileDialog raises EInvalidOperation Exception

    TOpenTextFileDialog raises after a call to TranslateComponent. The exception stack ends at TWinControl.CreateWnd with the Message: "Element PicturePanel has no parent window". System: WindowsXP SP3 CodeGear Delphi2007 for Win32 Version 11.0.2902.10471 - Updates 2007, Feb. 2008 Installed: CnPack IDE 0.8.3.374 DDevExtensions 1.5r3.

    2008-10-28 05:23:47 UTC by nobody

  • Comment: C++ Builder 6 vs lazarus - conflict in gnugettext

    Same here. I think there should be used {$EXTERNALSYM ...} directive in the pas file for C++ Builder. const LOCALE_SISO639LANGNAME = $59; // Used by Lazarus software development tool LOCALE_SISO3166CTRYNAME = $5A; // Used by Lazarus software development tool {$EXTERNALSYM LOCALE_SISO639LANGNAME} {$EXTERNALSYM LOCALE_SISO3166CTRYNAME} Is it possible to use this...

    2008-08-19 08:35:10 UTC by korecek

  • Backslash is not handled correctly in rc files

    In xgettext.pas/TXGetText.ExtractFromRC:1336 the else clause for backslash handling else clause is missing, resulting in backslashes beeing suppressed: if line[i]='\' then begin case line[i+1] of 'n': line[i+1] := #10; 'r': line[i+1] := #13; 't': line[i+1] := #9; end;.

    2008-07-16 10:37:55 UTC by nobody

  • uninstall does not clean up PATH

    Hi! I installed dxgettext-1.2.2.exe on Windows XP. Among other things, it added "C:\Program Files\dxgettext" to the PATH. Later I uninstalled dxgettext, but it forgot to remove "C:\Program Files\dxgettext" from the PATH. I had to remove it manually. Regards, David.

    2008-07-01 14:02:30 UTC by mr_stein

  • Comment: The LOCALE_* constants break C++Builder support

    Sorry, I did not see the other bug report on the same issue.

    2008-06-18 19:08:33 UTC by audacia

  • The LOCALE_* constants break C++Builder support

    The dxgettext revision referenced here: http://compaspascal.blogspot.com/2008/05/gnu-gettext-for-delphi-2008-available.html defines the following constants: // gnugettext.pas, l. 427ff const LOCALE_SISO639LANGNAME = $59; // Used by Lazarus software development tool LOCALE_SISO3166CTRYNAME = $5A; // Used by Lazarus software development tool Those constants are defined as macros...

    2008-06-18 19:02:13 UTC by audacia

  • Comment: Incorrect behaviour of SysUtilsFmtLoadStr()

    Fixed in subversion.

    2008-06-17 07:29:08 UTC by dybdahl