Provided by: m17n-docs_1.8.4-1_all bug

NAME

       mlanguage_code -

SYNOPSIS

       MSymbol mlanguage_code (MSymbol language, int len)

DESCRIPTION

       Get a language code. The mlanguage_code() function returns a symbol whose name is the
       ISO639 language code of language.  language is a symbol whose name is an ISO639-2 3-letter
       language code, an ISO639-1 2-letter language codes, or an English word.

       len specifies the type of the returned language code. If it is 3, an ISO639-2 3-letter
       language code is returned. If it is 2, an ISO639-1 2-letter language code is returned when
       defined; otherwise Mnil is returned. If it is 0, a 2-letter code is returned when defined;
       otherwise a 3-letter code is returned.

RETURN VALUE

           If the information is available, this function returns a non-Mnil symbol. Otherwise,
           it returns Mnil.

SEE ALSO

           mlanguage_name_list(), mlanguage_text().

COPYRIGHT

       Copyright (C) 2001 Information-technology Promotion Agency (IPA)
       Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology
       (AIST)
       Permission is granted to copy, distribute and/or modify this document under the terms of
       the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.