Hi Alberto,
Ok, I've made some changes to the Translation mechanism in NetTalk. (PR35) This should make it easier to integrate the translation
with different translation tools.
Before, I was making an explicit call to the built-in Translator class method. Now I am calling a method, called Translate, in the
WebHandler procedure. By default this just returns the text given to it, but you can embed code in here to call your favorite
translation mechanism.
What I would say is that you want to use a tool that supports multiple-languages-in-a-single-exe. I will liase with the translation
tool vendors so that they can add appropriate support if they wish to.
If you do need to do work on each thread, then I suggest adding a local variable to the web handler procedure. Then at the top of the
Translate method, if the variable is 0 you can do your priming work, and set the variable to 1. But if you can, you _really_ want to
avoid this. Remember that NetTalk starts a huge number of threads, so you'd be doing this work over, and over, again.
As you requested I have added translation calls to
menus
menu items
browse header tooltips (actually tips everywhere, browses, forms, buttons, Images, Hyperlinks and so on.)
browse 'No Records found'
browse delete conf q 'Are you sure you want to delete this record?'
browse 'Enter a search term in the locator'
form Tabs headings
form field drop extra possibilities
form field comments
If you need more let me know.
Cheers
Bruce