Search Results for

    Show / Hide Table of Contents

    Class PseudoTranslateSettings

    Settings group class for the Pseudo-translate automatic task settings.

    Inheritance
    object
    AbstractSettingsGroupBase
    SettingsGroup
    PseudoTranslateSettings
    Implements
    ISettingsGroup
    INotifyPropertyChanged
    IEditableObject
    Inherited Members
    SettingsGroup.parent_SettingsChanged(object, SettingsChangedEventArgs)
    SettingsGroup.CollectSettings(ISettingsGroup, List<string>)
    SettingsGroup.OnInit(ISettingsBundle)
    SettingsGroup.ContainsSetting(string)
    SettingsGroup.GetSettingIds()
    SettingsGroup.GetSetting<T>(string)
    SettingsGroup.GetSetting<T>(string, out Setting<T>)
    SettingsGroup.GetSetting<T>(string, out T)
    SettingsGroup.GetSetting<T>(string, T)
    SettingsGroup.RemoveSetting(string)
    SettingsGroup.Reset()
    SettingsGroup.ImportSettings(ISettingsGroup)
    SettingsGroup.parent_PropertyChanged(object, PropertyChangedEventArgs)
    SettingsGroup.BeginEdit()
    SettingsGroup.CancelEdit()
    SettingsGroup.EndEdit()
    SettingsGroup.Id
    SettingsGroup.Parent
    SettingsGroup.SettingsBundle
    SettingsGroup.PropertyChanged
    AbstractSettingsGroupBase._settingChangedDelegate
    AbstractSettingsGroupBase._propertyChangedDelegate
    AbstractSettingsGroupBase._parentEventHandlerAttached
    AbstractSettingsGroupBase._parentPropertyChangedEventHandlerAttached
    AbstractSettingsGroupBase._suspended
    AbstractSettingsGroupBase._suspendedEvents
    AbstractSettingsGroupBase.SuspendEvents()
    AbstractSettingsGroupBase.ResumeEvents()
    AbstractSettingsGroupBase.DiscardEvents()
    AbstractSettingsGroupBase.OnSettingChanged(string)
    AbstractSettingsGroupBase.OnSettingsChanged(IList<string>, bool)
    AbstractSettingsGroupBase.EventsSuspended
    AbstractSettingsGroupBase.SettingsChanged
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.ProjectAutomation.Settings
    Assembly: Sdl.ProjectAutomation.Settings.dll
    Syntax
    public class PseudoTranslateSettings : SettingsGroup, ISettingsGroup, INotifyPropertyChanged, IEditableObject

    Constructors

    PseudoTranslateSettings()

    Default constructor. You should never create this object manually. Use GetSettingsGroup(string) instead.

    Declaration
    public PseudoTranslateSettings()

    Properties

    AppendEnd

    If true, the string specified by AppendEndString will be appended to the end of each pseudo-translated string.

    Declaration
    public Setting<bool> AppendEnd { get; }
    Property Value
    Type Description
    Setting<bool>

    AppendEndString

    The string that will be appended to the end of each pseudo-translation, if AppendEnd is true.

    Declaration
    public Setting<string> AppendEndString { get; }
    Property Value
    Type Description
    Setting<string>

    AppendStart

    If true, the string specified by AppendStartString will be appended to the start of each pseudo-translated string.

    Declaration
    public Setting<bool> AppendStart { get; }
    Property Value
    Type Description
    Setting<bool>

    AppendStartString

    The string that will be appended to the start of each pseudo-translation, if AppendStart is true.

    Declaration
    public Setting<string> AppendStartString { get; }
    Property Value
    Type Description
    Setting<string>

    AppendToUnit

    Whether to append AppendStartString and AppendEndString to each segment, or to each paragraph.

    Declaration
    public Setting<AppendToUnitType> AppendToUnit { get; }
    Property Value
    Type Description
    Setting<AppendToUnitType>

    DeterministicPseudoTranslation

    When generating pseudo-translations using the internal dictionaries, if this setting is true then the same translations will be generated every time pseudo-translate is run. Otherwise, random words will be used.

    Declaration
    public Setting<bool> DeterministicPseudoTranslation { get; }
    Property Value
    Type Description
    Setting<bool>

    ExpansionLimit

    The factor by which the length of pseudo-translated content will differ to the source content. For example 1.3 would mean the pseudo-translations would be 30% longer than the source text.

    Declaration
    public Setting<double> ExpansionLimit { get; }
    Property Value
    Type Description
    Setting<double>

    UseDictionary

    If true, internal dictionaries will be used to generate content in the target language. If a dictionary is not available for the target language, the English dictionary will be used. If false, dollar signs will be used to represent characters in the pseudo-translations.

    Declaration
    public Setting<bool> UseDictionary { get; }
    Property Value
    Type Description
    Setting<bool>

    Methods

    GetDefaultValue(string)

    Gets the default value for the sepcified settings. Always returns null. Override this method in extending classes to define default setting values.

    Declaration
    protected override object GetDefaultValue(string settingId)
    Parameters
    Type Name Description
    string settingId

    The setting id.

    Returns
    Type Description
    object

    The default value, or null if no default value is available.

    Overrides
    SettingsGroup.GetDefaultValue(string)

    Implements

    ISettingsGroup
    INotifyPropertyChanged
    IEditableObject
    In this article
    • Constructors
      • PseudoTranslateSettings()
    • Properties
      • AppendEnd
      • AppendEndString
      • AppendStart
      • AppendStartString
      • AppendToUnit
      • DeterministicPseudoTranslation
      • ExpansionLimit
      • UseDictionary
    • Methods
      • GetDefaultValue(string)
    • Implements
    Back to top Generated by DocFX