| AutoLocalizationSettings Class |
Namespace: Sdl.LanguagePlatform.Core.Tokenization
The AutoLocalizationSettings type exposes the following members.
| Name | Description | |
|---|---|---|
| AutoLocalizationSettings | Initializes a new instance of the AutoLocalizationSettings class |
| Name | Description | |
|---|---|---|
| DisableAutoSubstitution |
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. | |
| LocalizationParametersSource |
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.
| |
| LongDatePattern |
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.
| |
| LongTimePattern |
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.
| |
| ShortDatePattern |
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.
| |
| ShortTimePattern |
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.
| |
| UnitSeparationMode |
Gets or sets the unit separation mode, which controls how units are separated from
the numeric value in measurements.
| |
| UnitSeparator |
Gets or sets the unit separator char, which must be a whitespace char or the null
character (\0).
|
| Name | Description | |
|---|---|---|
| AttemptAutoSubstitution |
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.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |