---
name: "mlanguage_name_list"
section: "3m17n"
platform: "linux"
package: "m17n-docs"
version: "1.8.4-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mlanguage_name_list"
---

# mlanguage\_name\_list(3m17n)

## NAME

mlanguage\_name\_list -

## SYNOPSIS

**MPlist**\* **mlanguage\_name\_list** (MSymbol *language*, MSymbol *target*, MSymbol *script*, MSymbol *territory*)

## DESCRIPTION

Return the language names written in the specified language. The **mlanguage\_name\_list()** function returns a plist of LANGUAGE's names written in TARGET language. SCRIPT and TERRITORY, if not **Mnil**, specifies which script and territory to concern at first.

LANGUAGE and TARGET must be a symbol whose name is an ISO639-2 3-letter language code or an ISO639-1 2-letter language codes. TARGET may be **Mnil**, in which case, the language of the current locale is used. If locale is not set or is C, English is used.

SCRIPT and TERRITORY must be a symbol whose name is a script and territory name of a locale (e.g. 'TW', 'SG') respectively.

## RETURN VALUE

If the translation is available, this function returns a non-empty plist. The first element has key **MText** and the value is an M-text of a translated language name. If the succeeding elements also have key **MText**, their values are M-texts of alternate translations.

If no translation is available, `NULL` is returned.

The returned plist should not be modified nor freed.

## SEE ALSO

**mlanguage\_code()**, **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\>.
