Document Developer - instructions > Making the document dynamic > Using current language for language switches

Using current language for language switches
You can dynamically select a Switch Case based on the language defined for the Switch.
Note:
This language is defined in the Language property for the Switch. If this language is set to Default, the language specified in the tool settings or processing properties is used. For more information on language handling, see the standard StoryTeller documentation.
To dynamically select case based on current Switch language
1
2
In the Properties panel Switch sample data field, select <Evaluate> from the drop-down list.
*
Note:
This option is also available for data switches, where the <Evaluate> setting uses the message definition sample data to get the value that selects the Switch content.
OpenText StreamServe 5.6 Updated: 2013-03-01