Class TranslationProvider
- Namespace
- Dynamicweb.Content.ExternalTranslations
- Assembly
- Dynamicweb.dll
Represents base class for translation extensibility
public abstract class TranslationProvider : ConfigurableAddIn
- Inheritance
-
TranslationProvider
- Inherited Members
Properties
Id
public int Id { get; set; }
Property Value
Name
Gets the name of the provider.
public string Name { get; }
Property Value
Methods
Translate(CultureInfo, CultureInfo, bool, IEnumerable<string>)
Called for text translation.
public abstract Result<IEnumerable<string>> Translate(CultureInfo sourceLanguageInfo, CultureInfo destinationLanguageInfo, bool htmlText, IEnumerable<string> sourceText)
Parameters
sourceLanguageInfo
CultureInfodestinationLanguageInfo
CultureInfohtmlText
boolsourceText
IEnumerable<string>