ContentFileLanguage Property

This read-only property returns the language of the content file

Definition

Namespace: Sandcastle.Core.ConceptualContent
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2025.9.30.0
public CultureInfo Language { get; }

Property Value

CultureInfo
The language is determined by looking at the suffix on the filename (Filename_LangSuffix.xxx) or the filename itself without the extension. If the suffix or filename is a valid language code, this returns it. If not valid, null is returned and the file is assumed to be language neutral.

See Also