mlanguage_name_list(3m17n)
π mlanguage_name_list π
okay so bestie, we're looking at mlanguage_name_list from section 3m17n of the m17n Library manpages, and honestly? it's giving "let me tell you what people call this language, but in that language." obsessed. π¦
β¨ NAME β¨
mlanguage_name_list β the function that fetches a language's names written in another language. (the og manpage left the description line blank, so consider this your lil' vibes-based hello πΈ)
β¨ SYNOPSIS β¨
MPlist* mlanguage_name_list (MSymbol language, MSymbol target, MSymbol
script, MSymbol territory)
β¨ DESCRIPTION β¨
Return the language names written in the specified language. periodt.
The mlanguage_name_list() function returns a plist of LANGUAGE's names written in TARGET language. So like β you hand it a language, you tell it "say the name in this other language pls", and it does exactly that. π
SCRIPT and TERRITORY, if not Mnil, specifies which script and territory to concern at first. (iykyk β if you don't care, just pass Mnil and let it do its thing β¨)
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. no cap, those are the only shapes allowed.
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
MTextand the value is an M-text of a translated language name. If the succeeding elements also have keyMText, their values are M-texts of alternate translations. π - If no translation is available,
NULLis returned. π
The returned plist should not be modified nor freed. literally do not touch it bestie, it's not yours, it's the library's π
β¨ 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>.
okay that's the whole page bestie, you ate it, no crumbs πβ¨ this was Version 1.8.4, dated Mon Sep 25 2023, and it lives in mlanguage_name_list(3m17n). go forth and localize, queen ππΈ
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms