logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mlanguage_code -

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.

Name

       mlanguage_code -

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().

Synopsis

       MSymbol mlanguage_code (MSymbol language, int len)

See Also