Internationalization

Tritium got this feedback a few weeks back:

"Please translate your wonderful application into french ! Thank you"

It's without a doubt my favorite thus far. This however would have been a monumental request in 2023, and many would advise avoiding it.

But not in 2025. Today we have rust_i18n and a VS Code co-pilot that can chat to Claude.

Translating today is straightforward. Find all of your user-facing strings and replace them with rust_i18n::t!("some.unique.string_name");.

Create a new YAML file and follow the crate's documentation.

If you wire up co-pilot to talk to a reasonable translator, the auto-complete function can do the rest for you.

Here's what translating to a few dozen languages looks like:

Demonstration of translating into many languages

Now, Tritium is available in most major Latin, Greek and Cyrillic alphabet-based languages.