Creating String Resource Files
- Aktualisiert2025-07-23
- 1 Minute(n) Lesezeit
TestStand uses the Engine.GetResourceString method to obtain the string messages to display in TestStand Sequence Editor and TestStand User Interface windows and dialog boxes. The Engine.GetResourceString method uses a string category and a tag name as arguments and searches for the string resource in all string resource files in the following predefined order of directories:
- <TestStand Public>\Components\Language\<current language>
- <TestStand Public>\Components\Language\English
- <TestStand Public>\Components\Language
- <TestStand>\Components\Language\<current language>
- <TestStand>\Components\Language\English
- <TestStand>\Components\Language
Select Configure»Station Options to launch the Station Options dialog box and click the Localization tab to change the current language setting.
To customize a string resource file for a supported language or to create a resource file for a new language, copy an existing language file from the <TestStand>\Components\Language\<current language> directory, place the file in the <TestStand Public>\Components\Language\<current language> directory, and modify the file. To create a resource string file that applies to all languages, place the resource file in the base <TestStand Public>\Components\Language directory.