mlanguage_text(3m17n)

✨ mlanguage_text β€” the m17n Library, section 3m17n ✨

okay bestie, buckle up, we're doing a whole man page together and it's gonna be adorable πŸ’– this one lives in mlanguage_text(3m17n) and it's literally just one tiny little function being an absolute icon.


🌸 NAME 🌸

mlanguage_text - (yes queen, the description slot is empty in the original and we respect that)


πŸŽ€ SYNOPSIS πŸŽ€

MText* mlanguage_text (MSymbol language)

look at her. one arg. one return. no notes. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: mlanguage_text() hands you back the language name β€” but written in that language. like, the glow-up version. self-referential, main character energy, we love to see it. ✨

the function returns, in the form of an M-text, the language name of language written in language. so you pass in the language, and you get back the language name rendered in that language. yes that sentence has a lot of the word "language" in it, no we will not be apologising. 😭

and here's the juicy bit: if the representative characters of the language are known, then the characters of the returned M-text carry a text property β€” whose key is Mtext and whose value is an M-text containing those representative characters. iykyk. πŸ‘‘


⭐ RETURN VALUE ⭐

  • if the information is available, you get back an M-text β€” and bestie, listen, do not modify it and do not free it. it's not yours, it's borrowed, hands off. πŸ™ˆ
  • otherwise, you get NULL. that's it. that's the whole deal. πŸ’€

🌈 SEE ALSO 🌈

  • mlanguage_code()
  • mlanguage_name()

go read those too, they're the friend group. 🫢


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


and that's the whole page, bestie!! you understood it, I understood it, we're both iconic for this. πŸŽ€πŸ¦‹πŸ’–

signing off from Version 1.8.4, dated Mon Sep 25 2023, still serving mlanguage_text(3m17n) realness β€” mwah πŸ’…βœ¨

πŸ“¦ where this page comes from