I am writing a translation and I have found myself translating the same words again and again. I would like to have a file where I could write all the common substitutions I am doing (and hopefully have the ability to add a new substitution rule easily). For example:
source code -> código fuente
computer -> ordenador
of the -> del
[...]
And to have a command which could allow me to lookup the current word under the cursor on this file and to substitute it if it was found.
It is important to notice that the word's context is irrelevant to me and that the substitution rules could affect more than one word.
How could I achieve this? Is there any built-in command or minor-mode doing exactly this?