News for hackers. Stuff that matters.
Re:"Your" vs. "My" in user interfaces by Illniyar on Tuesday September 16, 2025 @09:08AM (#45261735)
Not the parent, but you use a translation format like `translations("INVITE_USER", {gender_of_host, num_guests})`

Then you will have an algorithm that knows to translate based on some rules - like the ICU messages format - https://unicode-org.github.io/icu/userguide/format_parse/mes...

In the link there's an example of how such rules look like (they'll be different for each language)

There are no comments on this comment yet.