06-06-2006 04:44 PM
06-07-2006 09:16 AM
TestStand expects the characters in resources file to be multibyte characters, not unicode. I would guess that you should save as ANSI from notepad. Multibyte characters are relative to the current "code page", so your machine must be set to Chinese for non-English character codes to be correctly interpreted and displayed.
I don't know if it necessary just to change display strings, but you might also want to checkmark the Configure>>Station Options>>Localization>>Recognize Multi-byte Characters option.
06-07-2006 10:47 AM
06-07-2006 11:06 AM
06-07-2006 04:58 PM
06-09-2006 12:30 PM
10-22-2010 06:52 AM
Hi
I succeeded in translating in chinese some menus of the TestStand sequence editor interface thanks to this topic.
But now I am trying to set Chinese strings in popup messages in TestStand to display these popup messages in Chinese. But when i write Chinese characters, Teststand sends me an error code concerning token. i suppose that is because chinese characters are not recognized. I did not find the information or clues to do it.
Configuration
TestStand Engine Version:4.2.1(4.2.1.83)
Sequence editor 4.2.1.83
Licence: development system
OS: Windows XP
Thanks
10-22-2010 07:25 AM
Additive information :
- i use a non asian version of windows (I am French)
- Error code sent by TestStand during the execution : An error occurred while attempting to
display the Message Popup dialog box.
[Error Code: -17300, Value invalid or
out of range.]
10-22-2010 09:28 AM - edited 10-22-2010 09:30 AM
TestStand is a multi-byte program (non-unicode). You need to do the following to ensure that Chinese characters are processed correctly.
1) In the Region control panel for Windows. The last tab has a setting for setting the language for non-unicode programs. You will need to set this to Chinese. If you are on a Chinese OS it should already be set to Chinese, but on a French OS it is probably set to French.
2) In the TestStand station options, go to the Localization tab and make sure that the "Recognize Multi-byte characters" checkbox is checked. Restart the Sequence editor or OI after changing this setting.
Once you have done 1 & 2 you should be able to use Chinese characters throughout TestStand.
If it still doesn't work after doing this, please attach a screen shot showing how you've configured the message popup step.
Hope this helps,
-Doug
10-22-2010 10:26 AM
I did 1 and 2 before posting to display correctly the translation in chinese of the sequence editor interface like it was indicated in the previous posts.
But you mentioned to restart sequence editor. And it was the problem : I did not do it the first time. So I restarted Sequence Editor and now it works !
Thanks doug for your help