Skip to content
ConsoleMonster

API Reference

Class

LabelCatalog

Namespace ConsoleMonster.Localization
Assembly ConsoleMonster
Modifiers static

The built-in translations of WidgetLabels and PromptLabels: one embedded Labels.<language>.txt per language with Widget.Name = text and Prompt.Name = text lines.

Inheritance

  • Object
  • LabelCatalog

Methods

public static IReadOnlyDictionary<String, String> Entries(String language) #
Returns: IReadOnlyDictionary<String, String>

The translations for a language (two-letter code), or an empty table when it has none.

Parameters

language System.String requiredposition: 0
The two-letter language code, for example pl.

Returns

Keys such as Widget.Showing to text.

Properties

public static IReadOnlyList<String> Languages { get; } #

The languages with built-in translations besides English (two-letter codes).