| ILocalizableTokenLocalize Method (CultureInfo, AutoLocalizationSettings) |
Auto-localizes the token according to the settings of the specified target culture
and the provided auto-localization settings. The text of the token will be changed,
but not the values.
For some token types, special AutoLocalizationSettings will be used, if provided.
Namespace: Sdl.LanguagePlatform.Core.TokenizationAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxbool Localize(
CultureInfo culture,
AutoLocalizationSettings autoLocalizationSettings
)
Function Localize (
culture As CultureInfo,
autoLocalizationSettings As AutoLocalizationSettings
) As Boolean
bool Localize(
CultureInfo^ culture,
AutoLocalizationSettings^ autoLocalizationSettings
)
abstract Localize :
culture : CultureInfo *
autoLocalizationSettings : AutoLocalizationSettings -> bool
Parameters
- culture
- Type: System.GlobalizationCultureInfo
The target culture - autoLocalizationSettings
- Type: Sdl.LanguagePlatform.Core.TokenizationAutoLocalizationSettings
Contains the AutoLocalizationSettings to use for some token types. May be null,
in which case default settings will be used.
Return Value
Type:
Booleantrue if the token text has been changed, and
false otherwise
See Also
Comments