Crate of the Week

I'd like to self-nominate karatepe.

Karatepe is a statically typed localisation language and library,
Forgetting an argument, using a value of the wrong type, and misspelling a message's identifier in rust all result in compilation errors and you get rust-analyzer auto-complete too.

Modules are also supported to keep the messages organized.

Languages can still be loaded at runtime, there are 2 kinds of files, one defines the messages and their arguments (and needs to exist at compile time), the other translates the messages (and is loaded at runtime).

Plurals (both ordinal and cardinal) are also supported via pattern matching (and partial matches are an error detected when the file is loaded, not when the translation is used).


No LLMs where used to write any part of the crate, or for anything else.
(when I had to google things my search engine gave me some LLM results, but I tried to ignore them)

100% Slop Free