Class TranslateTextInstruction
- Namespace
- Dynamicweb.CoreUI.Generation.Text
- Assembly
- Dynamicweb.CoreUI.dll
Represents GeneratorInstruction for translating text
[Experimental("Generation")]
public sealed class TranslateTextInstruction : TextModificationGeneratorInstructionBase
- Inheritance
-
TranslateTextInstruction
- Inherited Members
Properties
CultureCode
Gets or sets the culture code that specifies the culture information for formatting and parsing operations.
public string? CultureCode { get; set; }
Property Value
Remarks
The culture code should be in the format of a language tag, such as 'en-US' for English (United States) or 'fr-FR' for French (France). This property can be used to customize the application's behavior based on the user's cultural preferences.
Methods
GetGeneratorInput()
Gets GetGeneratorInput() containing prompts for text modification
public override GeneratorInput GetGeneratorInput()