Click or drag to resize
AutoLocalizationSettings Class
Contains specialized settings for auto-localization of tokens.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.Core.TokenizationAutoLocalizationSettings

Namespace: Sdl.LanguagePlatform.Core.Tokenization
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public class AutoLocalizationSettings

The AutoLocalizationSettings type exposes the following members.

Constructors
  NameDescription
Public methodAutoLocalizationSettings
Initializes a new instance of the AutoLocalizationSettings class
Top
Properties
  NameDescription
Public propertyDisableAutoSubstitution
Gets or sets the a set of recognizers for which auto-substitution will be disabled. Note that whether or not auto-localizable tokens are identified depends on the active recognizers. That is, if number recognition is off, then disabling auto-substitution of numbers has no effect as no numbers will be identified in the input.

The default is to disable none of the auto-substitutable token classes.

Public propertyLocalizationParametersSource
Gets or sets the localization parameter source, which controls which tokens are used to obtain the actual localization parameters, such as the numeric group separator override, or whitespace handling between a number and the unit in measurements.
Public propertyLongDatePattern
Gets or sets the long date pattern for the auto-localization into the target language. This pattern must be one of the patterns defined by the target culture. Otherwise, placeable association will not work correctly. If the value is null, a default pattern will be used.
Public propertyLongTimePattern
Gets or sets the long time pattern for the auto-localization into the target language. This pattern must be one of the patterns defined by the target culture. Otherwise, placeable association will not work correctly. If the value is null, a default pattern will be used.
Public propertyShortDatePattern
Gets or sets the short date pattern for the auto-localization into the target language. This pattern must be one of the patterns defined by the target culture. Otherwise, placeable association will not work correctly. If the value is null, a default pattern will be used.
Public propertyShortTimePattern
Gets or sets the short time pattern for the auto-localization into the target language. This pattern must be one of the patterns defined by the target culture. Otherwise, placeable association will not work correctly. If the value is null, a default pattern will be used.
Public propertyUnitSeparationMode
Gets or sets the unit separation mode, which controls how units are separated from the numeric value in measurements.
Public propertyUnitSeparator
Gets or sets the unit separator char, which must be a whitespace char or the null character (\0).
Top
Methods
  NameDescription
Public methodAttemptAutoSubstitution
Returns a flag whether or not to attempt auto-substitution on the specified token. The value depends on the token type and whether auto-substitution is enabled for that token type or not (see DisableAutoSubstitution.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments