'Text substitution in AsciiDoc

I have an asciidoc document that uses a very technical and long term over and over again. It is very important that the term is written exactly like this. Now, I am looking for a possibility to use an acronym/shortcut instead while writing the document. The shortcut text should then be expanded to a fixed value (best case a value that I can define elsewhere in the doc) while translating the document.

I read a lot about macros in asciidoc but did not yet find the right solution. Can anybody help and point me into the right direction?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source