Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to internationalize a delphi application [duplicate]

Possible Duplicate:
Translate application

What is the best way to internationalize my application written in delphi xe2 ?

I've seen the stringtable resource but I'm worried because I've got the feeling that the implementation could be time consuming and laborious.

Are there other equally valid methods to do this?

like image 642
Superc Avatar asked Nov 19 '25 16:11

Superc


2 Answers

Maybe not the best tool for translations, but I'm using GNU Gettext for many years. The process is quite simple:

  • You run dxgettext to extract strings
  • You translate or give for translation the files
  • I personally love poEdit tool to translate and manage translation repository
  • Optional : You merge your translation files into the final EXE
  • OR you put the translation files in subdirectories and that's it !

http://dxgettext.po.dk/

Update:

1/ GNU Gettext is included in JCL/JVCL library, you just need to activate this option at startup.

2/ Gnu Gettext can translate everything in the library, as VCL, JCL/JVCL also ! It's not just limited to your code !

like image 75
TridenT Avatar answered Nov 22 '25 09:11

TridenT


One option is to use the Integrated Translation Environment in Delphi:

http://docwiki.embarcadero.com/RADStudio/XE3/en/Localizing_Applications_by_Using_Translation_Manager_Overview

like image 33
Stijn Sanders Avatar answered Nov 22 '25 08:11

Stijn Sanders



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!