DataTranslationLanguages.For method
Gets a language and its fallback languages, in the order the translations are looked up in.
public static string[] For(string? language, ILocalTextRegistry? localTextRegistry)
| parameter | description |
|---|---|
| language | The language, e.g. the name of the current UI culture, or null for none. |
| localTextRegistry | The local text registry, for the fallback languages when it implements ILanguageFallbacks, or null for the parent cultures, e.g. "de" for "de-DE". |
See Also
- interface ILocalTextRegistry
- class DataTranslationLanguages