|
|||
|
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Localizing Delphi Server application
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
||||||||||||||||
| Localizing Delphi Server application - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
Impact Member
|
Hi, I use Susulizer to localize client delphi applications, which works fine. I would like to use it to localize a multithreaded server application (Webservice) too. I want to localize the Strings of the application only - which makes it less complex. The UI has not to be localized. I know that it would be easy to localize the application and start many instances (one per language), but thats not what I want to. I would like the client to tell me in the webservice call which language the client accepts, and produce localized output data (Errormessages, infos, ...) One idea I can think of is to put all used Strings in an XML file (which can be localized with Sisulizer), and load the right string from the localized file in the choosen language when I need it. But perhaps there is a better solution for that? Would it be possible to save resourcestrings in a dll, localize that dll using sisulizer, and load the right localized dll in the thread? (one thread operates in only one language) I don't mean standard sisulizer dlls of course. I mean an external dll containing only the strings. Is it possible? How to load that kind of dll? How to access the Resourcestrings included in the dll loaded on runtime in delphi code? Thank you
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Jaakko.Salmenius Administrator
|
The right method depends on how you implemented your your web application? Can you tell what technology your web application is based on? Is it a WIN32 exe? Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Impact Member
|
yes, win32 exe (possibly a service)
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Jaakko.Salmenius Administrator
|
You can work on one process. Thre are many different way you can implement this. Here are few choices. 1) Put string into resource only DLL. Depending on the client load a resource DLL that matches his or her language (if not already loaded). Get the string values from resource DLL. Sisulizer can be used to create localized resource DLL. 2) Put strings into database. Get the string value from database depending on the client's language. Sisulizer can be used to localize database. Use row localization method in your database. See more from SL's onlinehelp under Database localization. 3) Put strings into XML or text file. Use Sisulizer to localize them. On every cahse you have to keep track of HTTP clients that are current using, get the language of the client. If there are several clients and they need several strings (e.g. web application is complex) you better keep the translations in memory to get faster access to them. This memory would be like cache between web app and your dictionaries. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| Current time is 08:37 pm | |
| .NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Localizing Delphi Server application | |
Sisulizer software localization tool - Three simple steps to localize