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
thanks in advance
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
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 ...
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
thx
hope it helped. paul.