Gerben Wierda via ntg-context schrieb am 29.05.2023 um 16:19:
If I do something like:

Version: \getbuffer[version]-en

I get whitespace between the content of the buffer and “-en”

What is the proper LMTX way to do this?

You need the \inlinebuffer command



Version: \inlinebuffer[version]-en


but buffers aren't the right tool to store strings like version information.

One alternative solution is to set the string with the \setupdocument command.



Version: \documentvariable{version}-en