Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
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
AuthorPost
 Posted: Wed Aug 26th, 2009 03:16 pm
PM Private Upload Quote Reply
Impact
Member
 

Joined: Wed Jul 11th, 2007
Location:  
Posts: 20
Status: 
Offline
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


Back To Top PM Private Upload Quote Reply

 Posted: Fri Aug 28th, 2009 12:19 pm
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

 Posted: Sat Aug 29th, 2009 10:35 am
PM Private Upload Quote Reply
Impact
Member
 

Joined: Wed Jul 11th, 2007
Location:  
Posts: 20
Status: 
Offline
yes, win32 exe (possibly a service)

Back To Top PM Private Upload Quote Reply

 Posted: Sat Aug 29th, 2009 10:48 am
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
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
Back To Top PM Private Upload Quote Reply

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



WowUltra modified by Sisulizer Copyright © 2007-09 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize