Class LocalizedTextServiceSupplementaryFileSource
Represents a supplementary file source for localized text services, allowing plugins and extensions to provide additional or overriding localization keys.
Inheritance
object
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public class LocalizedTextServiceSupplementaryFileSource
Constructors
View SourceLocalizedTextServiceSupplementaryFileSource(IFileInfo, bool)
Initializes a new instance of the LocalizedTextServiceSupplementaryFileSource class.
Declaration
public LocalizedTextServiceSupplementaryFileSource(IFileInfo file, bool overwriteCoreKeys)
Parameters
| Type | Name | Description |
|---|---|---|
| IFileInfo | file | The file information for the supplementary localization file. |
| bool | overwriteCoreKeys | If set to |
Properties
View SourceFileInfo
Gets the file information for this supplementary localization file.
Declaration
public IFileInfo FileInfo { get; }
Property Value
| Type | Description |
|---|---|
| IFileInfo |
OverwriteCoreKeys
Gets a value indicating whether keys in this file should overwrite core localization keys.
Declaration
public bool OverwriteCoreKeys { get; }
Property Value
| Type | Description |
|---|---|
| bool |