Get alphabets for different languages
var alphalang = new Alphalang();
console.log(alphalang.iso2EnglishName('sv') + ': ' + alphalang.iso2Uppercase('sv'));
The code above generates this console output:
swedish: ABCDEFGHIJKLMNOPQRSTUVWXYZÅÄÖ
English (en), Russian (ru), Spanish (es), Swedish (sv)
Returns the local name of the language (i.e. "русский" for russian or "español" for spanish)
Returns the english name of the language (i.e. "russian" or "spanish")
Returns a string containing the letters of the alphabet, in uppercase (e.g. "ABCDEFGHIJKLMNÑOPQRSTUVWXYZ" for spanish)
Returns a string containing the letters of the alphabet, in lowercase (e.g. "abcdefghijklmnñopqrstuvwxyz" for spanish)
Returns an object containing both uppercase and lowercase versions of the alphabet. E.g. {"uppercase":"ABCDEFGHIJKLMNÑOPQRSTUVWXYZ","lowercase":"abcdefghijklmnñopqrstuvwxyz"}
for spanish.
Returns an array of 2-letter ISO language codes for all the languages the library supports. At the time of writing, it is ["en","es","ru","sv"]