idnlang.conf(5)

πŸ“¦
version 2.3 Β· 2 versions
, in nixos 26.05

πŸ¦‹ idnlang.conf(5) β€” language alias file for idnkit, bestie πŸ¦‹

okay so we're literally in the File Formats Manual for idnlang.conf(5), and it's giving β€œtiny config file that fixes your whole locale situation.” πŸ’…

πŸ’– NAME πŸ’–

idnlang.conf β€” the language alias file for idnkit. That's the whole name, no cap.

🌸 SYNOPSIS 🌸

/nix/store/hcyf58m2phm5bg6ch5a4lkif5fpf1lck-idnkit-2.3/etc/idnlang.conf

The file path is the whole synopsis. Iconic. ✨

✨ DESCRIPTION ✨

The idnlang.conf file defines aliases of language names. It's located on /nix/store/hcyf58m2phm5bg6ch5a4lkif5fpf1lck-idnkit-2.3/etc/idnlang.conf and is always loaded automatically as idn2.conf and .idn2rc. The aliases in this file can be used just as the real names β€” fr fr. 🫢

As described in idn2.conf(5), idnkit has a configuration parameter named current language. Unless the current language is specified by the language entry in the idnkit configuration file, the idnkit library guesses the current language from locale information at run time.

Here's the little plot twist: the idnkit library assumes the language name is an ISO639 language code (e.g. en), but the language name taken from locale information may not be (e.g. English). Using idnlang.conf, you can avoid the trouble. Slay. πŸ’…

The alias file is a simple text file, consisting of lines (other than comment lines, which begin with #, and empty lines) of the form:

alias-name real-name

where alias-name is an alias name to be defined, and real-name is its real name.

πŸŽ€ SAMPLE FILE πŸŽ€

The following shows a sample idnlang.conf file. Obsessed with how short it is. πŸ“

#
# idnlang.conf sample.
#
Azeri          ar
Lithuanian     lt
Turkish        tr

πŸ—‚οΈ FILES πŸ—‚οΈ

  • /nix/store/hcyf58m2phm5bg6ch5a4lkif5fpf1lck-idnkit-2.3/etc/idnlang.conf β€” yes bestie, this is the file, and this is the path. πŸ’–

πŸ‘€ SEE ALSO πŸ‘€

Go read these when you're done, iykyk:


That's the whole idnlang.conf(5) page β€” idnkit 2.3 energy, dated Sep 21, 2012. πŸ’œβœ¨

πŸ“¦ where this page comes from
  • nixos 26.05: idnkit 2.3
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms