Showing results for 
Search instead for 
Did you mean: 

Translation Toolkit : cmdline?

Former Member
0 Kudos

Is it possible to run the translation toolkit cmdline?

In order to automate the translation process, I'd like to be able to do this in a batch job. 

If not, then is there some sort of API which may be used?


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi O;

  AFAIK, this is still a "GUI" only tool.

Now, you could write a program to control (automate) the translator GUI's processing .... for example in Notepad: Start another application from a PowerBuilder application and then send it keyboard commands:

integer li_rc

OleObject ole_wsh

ole_wsh = CREATE OleObject

li_rc = ole_wsh.ConnectToNewObject ( "WScript.Shell" )

ole_wsh.Run ("Notepad")

ole_wsh.AppActivate("Untitled - Notepad")

Sleep (500)

ole_wsh.SendKeys (''Hello from PB")

Tip: Have a look at the "SendKeys" method in MS's WSH documentation on how to generate specific key codes.


Regards .. Chris

Answers (2)

Answers (2)

Former Member
0 Kudos

Would it be possible to access the TransTlk pbd's with a console application, then?

If not, then I might just try to automate the GUI processing as mentioned above.


Active Contributor
0 Kudos

Not that I'm aware of.

FWIW, there's another tool than can also be used to implement multilingual capability (enable).  You might see if it has a batch mode.