mini18n(3)
πΈ NAME πΈ
okay so bestie π welcome to mini18n(3) from the mini18n manual. This page is literally about mini18n β it translates strings β¨. It's giving translator era, and honestly? Iconic.
β¨ SYNOPSIS β¨
#include <mini18n.h>
const char * mini18n(const char * source);
const char * mini18n_with_conversion(const char * source, unsigned int
format);
π DESCRIPTION π
Okay so mini18n() is lowkey doing a search-and-rescue mission for strings π. It searches for source in the currently loaded translation, and if it finds it, it returns the translated value. Periodt.
When it does find it, the returned string points to a mini18n internal buffer β so bestie, it should not be free()'d or modified in any way. That's a hard no π
. If source is not found, or if no translation is loaded, then the source string itself is returned. No cap.
mini18n_with_conversion() does the same thing as mini18n(), but it also converts the returned string to the specified format. Another difference: the returned string is always converted to the format. For now, the only possible value of format is MINI18N_UTF16, and it is only implemented for the Windows operating system. iykyk πͺ.
π RETURN VALUE π
The translated string if successful β the original spells it successul, and we're keeping that typo energy fr fr π β and the source string otherwise.
mini18n-0.2 Β· August 30, 2011 Β· mini18n(3) β that's the source/version and date, bestie. bye mwah ππ
π¦ where this page comes from
- debian bookworm: libmini18n-dev 0.2.1-2 Β· GPL-2.0-or-later
- debian trixie: libmini18n-dev 0.2.1-2+b2 Β· GPL-2.0-or-later
- ubuntu jammy: libmini18n-dev 0.2.1-1
- ubuntu noble: libmini18n-dev 0.2.1-2 Β· GPL-2.0-or-later
- ubuntu questing: libmini18n-dev 0.2.1-2
- ubuntu resolute: libmini18n-dev 0.2.1-3 Β· GPL-2.0-or-later
- ubuntu stonking: libmini18n-dev 0.2.1-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms