Link to home
Start Free TrialLog in
Avatar of kirezz
kirezz

asked on

multilanguage support

how to implement multilanguage support for my program? i have looked to many multilanguage components, but unfortunatly or they are not for free. Can anyone suggest tutorial, article, or something to help me out? please.

thanks in advance
Avatar of paulcas
paulcas

just get delphi 5, which enables you to easily build up a string table. Using string tables you can change your program's language just with one click.

hope it helped. paul.
Avatar of kirezz

ASKER

but can i add other languages easly, without recompilation?
> but can i add other languages easly, without recompilation?

Basically, the process is as follows:
- for every language, you must create a DLL. The extension of the DLL corresponds with LOCALE_SABBREVLANGNAME in Windows. That means you must (at least) recompile the new DLL.
In Delphi 5, there is an example of multilanguage application - under Demos\Richedit.

HTH,

bego
I have a quite similar idea to this problem, which i want to try to a program of mine soon, maybe the idea is not yet in its final stage ... create a dll (or another file that you can load and read strings out of it) and put all the text to be dispalyed there and give them certain names(the strings i mean). In your programm OnCreate load this file and replace all the Texts in the programm with the strings from your file. By exchanging the (dll)File you can easily change the language for your program.
this is the basic idea i have, I'm still thinking about it and trying to find a way for having more than one language file at a time to make it possible to select different languages at runtime or so...
didn't know about the Delphi way for multi language support, will take a look at it ...
ASKER CERTIFIED SOLUTION
Avatar of BlackDeath
BlackDeath

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial