#1924·stash

i18n: Streamline Singular/Plural Nouns

Author: Still34Created Oct 28, 2021Updated Sep 22, 2026
Labelshelp wantedi18n

TL;DR; the localization table is a mess right now with singulars and plurals being thrown all over the place - maybe it's time to do some cleanup.

Long Form

Back when i18n was first implemented, a lot of the terminologies were put under the root key of the localization table. As the project has grown, more and more string categories were created. Now we have a somewhat clean section for translators to figure out what the context of the string may be based on the key ID (e.g., actions.add -> verb form of add might be used, as opposed to noun).

The problem now is that some of these "legacy" strings are now littering the root section of the localization table, with most of them being nouns that cannot be appropriately placed due to the generic nature of the terms. There are now some implementations use countables.<entity_type> or just <entity_type>/<entity_type>s.

We need to figure out a way to consolidate all of these into a single group, where the translator could easily define what a singular entity is or a plural is instead of having to repeat themselves across different strings.