|
|
Sets a context for translations to execute in.
Syntax
| Smartsite SXML |
|
|---|---|
<se:translationcontext> </se:translationcontext> |
|
Parameters
| Name | Data Type | Properties | Description |
|---|---|---|---|
| Description | String | - | An optional description of the context setting the Translation Scopes. |
| EvaluationScope | Integer | - | Sets the evaluation scope. This is the user-specified scope to use to force a translation to be found in the given scope. Use -1 to keep the current evaluation scope. |
| FallbackScope | Integer | - | Sets the fallback scope. This is normally a system-defined scope that is used when neither page scope, nor evaluation scope result in a valid translation. Use -1 to keep the current fallback scope. |
| PageScope | Integer | - | Sets the page scope. This is the first scope that will always be used for translation resolving, unless the translation.localscope prefix is used. Use -1 to keep the current page scope. |
| Xml | String |
RawData
IsRequired |
Sets the XML. |
Shared Parameters
Local Viper Methods
| Viper | Extension | Description |
|---|---|---|
| This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
| This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
| This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
| This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |