Language-Codes
Author: Nicolas Hafner <shinmera@tymoon.eu>
Description: A small library mapping language codes to language names.

## About Language-Codes

This is a small library providing the ISO-639 language code to language name mapping.

## How To

After loading the library, simply use `names` to retrieve the list of known names for a language code.

    (language-codes:names :eng)      ; => ("English")
    (language-codes:names :ht)       ; => ("Haitian" "Haitian Creole")

You can also perform the inverse lookup, by `codes`.

    (language-codes:codes "english") ; => (:ENG :EN)

## Copyright

language-codes is licensed under the Artistic license. © Nicolas Hafner <shinmera@tymoon.eu> . This library can be obtained on https://github.com/Shinmera/language-codes.

## Package Index

- ### LANGUAGE-CODES (ORG.SHIRAKUMO.LANGUAGE-CODES)

  - accessor `(`

    #### `NAMES`

    `` `CODE``)`

        Accessor to the list of English language names for the given language code.

        The code can be either a string or keyword of the
        two- or three-letter ISO 639 codes.

        By default codes for ISO-639-1 and ISO-639-3 are
        loaded in. You can use this function to define your
        own code mappings if necessary.

        See https://www.loc.gov/standards/iso639-2/php/English_list.php
        See https://iso639-3.sil.org/
        See CODES

  - function `(`

    #### `LOAD-CODE-MAP`

    `` `FILE``)`

        Load a code map file.

        The file should be composed of s-expressions of
        the following format:

        FILE  ::= ENTRY*
        ENTRY ::= (CODE NAME*)
        CODE  --- A string of the two- or three-letter code
        NAME  --- A string for a human-readable name of the
                  language this code identifies.

        See NAMES

  - generic `(`

    #### `CODES`

    `` `LANGUAGE``)`

        Returns the list of known codes for the given language.

        The language is matched case-insensitively.

        See NAMES