My understanding is that, on other distros, /usr/share/locale
is a directory containing all the translations for every program.
On nixos, where are those localizations?
I think glibcLocales
might be what you are looking for:
$ tree "$(nix-instantiate --eval -E 'with import <nixpkgs> {}; glibcLocales.outPath' | xargs)"
/nix/store/a2px4kdz1jm03f8ifr1pzir0csfmyrlv-glibc-locales-2.31
├── lib
│ └── locale
│ └── locale-archive
└── nix-support
└── setup-hook