Class TcgDexLanguages
- Namespace
- TcgDex
- Assembly
- TcgDex.CSharpSdk.dll
The language codes the TCGdex API accepts.
public static class TcgDexLanguagesInheritance
Inherited Members
Remarks
This list is not guesswork: requesting an unsupported code makes the API enumerate the valid set in its error body, and these are exactly those values. Note that GraphQL ignores language entirely and always answers in English.
Fields
ChineseSimplified
Chinese (Simplified).
public const string ChineseSimplified = "zh-cn"Field Value
ChineseTraditional
Chinese (Traditional).
public const string ChineseTraditional = "zh-tw"Field Value
Dutch
Dutch.
public const string Dutch = "nl"Field Value
English
English — the API's default.
public const string English = "en"Field Value
French
French.
public const string French = "fr"Field Value
German
German.
public const string German = "de"Field Value
Indonesian
Indonesian.
public const string Indonesian = "id"Field Value
Italian
Italian.
public const string Italian = "it"Field Value
Japanese
Japanese.
public const string Japanese = "ja"Field Value
Korean
Korean.
public const string Korean = "ko"Field Value
Polish
Polish.
public const string Polish = "pl"Field Value
Portuguese
Portuguese.
public const string Portuguese = "pt"Field Value
PortugueseBrazil
Portuguese (Brazil).
public const string PortugueseBrazil = "pt-br"Field Value
PortuguesePortugal
Portuguese (Portugal).
public const string PortuguesePortugal = "pt-pt"Field Value
Russian
Russian.
public const string Russian = "ru"Field Value
Spanish
Spanish.
public const string Spanish = "es"Field Value
SpanishMexico
Spanish (Mexico).
public const string SpanishMexico = "es-mx"Field Value
Thai
Thai.
public const string Thai = "th"Field Value
Properties
All
Every supported language code.
public static IReadOnlyList<string> All { get; }Property Value
Methods
IsSupported(string?)
Whether the API supports language. Comparison ignores
case, matching how the API treats the path segment.
public static bool IsSupported(string? language)Parameters
languagestring?-
The language code to test, such as
"pt-br".