Is there any 'standard'/'convention' for writing plain text in many languages? Interleaving the different languages somehow?

Follow

@ebel When you say plain text, I assume you mean long form text, as in documents, and not something like UI elements?

· · Web · 1 · 0 · 0

@emacsen correct. Old fashioned plain text files. I wanna write multiple languages in my readme.txt (or readme.md)

@ebel The only standard I'm aware of would be the filename (minus extension) then a separator, then a two letter code, ala:

foo-en.txt

If you have many files, I've also seen the directory route of:

doc/en/foo.txt

Then you can offer links between docs.

This is imperfect, but I think it's what I've seen and probably good enough for most uses, without getting very complicated.

Sign in to participate in the conversation
Mastodon

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