Follow

idea: localised strings.

Put a "l" before the string and the content of the string becomes the default value (and the key to the localised value). Then there would be some designated file or set of files that store all the localisations.

All you'd need after that is some easy means of telling the program what is storing the locale.

Basically syntactic sugar:
l"Hello!"
is sugar for:
localised_content["locale"]["Hello!"]
or there about.

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!