Click or drag to resize
DateTimeTokenLocalize 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.Tokenization
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public virtual bool Localize(
	CultureInfo culture,
	AutoLocalizationSettings autoLocalizationSettings
)

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: Boolean
true if the token text has been changed, and false otherwise

Implements

ILocalizableTokenLocalize(CultureInfo, AutoLocalizationSettings)
See Also
Community
Edit

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