Skip to content

DataTranslationLanguages class

namespace: Serenity.Data   assembly: Serenity.Net.Services

Gives the languages the translations of DataTranslationTable are looked up in: a language, then its fallback languages, e.g. "de-DE" and then "de", without the invariant language.

public static class DataTranslationLanguages

Public Members

name description
static Current(…) Gets the language of the current UI culture and its fallback languages.
static For(…) Gets a language and its fallback languages, in the order the translations are looked up in.

See Also