The string representation of the language, this is case sensitive!
The language code if found, otherwise undefined.
expect(getLanguageFromString("Deutsch")).toBe("de");
expect(getLanguageFromString("English")).toBe("en");
expect(getLanguageFromString("日本語")).toBe("ja");
expect(getLanguageFromString("no lang")).toBe(undefined);
Generated using TypeDoc
Finds the language code based on a given string representation of a language.