1. A method comprising: receiving, by a processing device, a first set of instructions coded in a first language; compiling, by the processing device, the first set of instructions to obtain a second set of instructions coded in a second language, wherein the second language is different than the first language; executing a compiler extension; in response to compiling the first set of instructions, generating, by the compiler extension, a first table of key-value pairs for a first set of error messages that are within the first set of instructions, wherein keys of the key-value pairs in the first table correspond to error messages used with the first set of instructions; retrieving, from a memory device, a second table of key-value pairs for default error messages used with the second set of instructions, wherein the second table of key-value pairs is stored at the memory device; determining, by the compiler extension, a mistake for a key of the keys of the key-value pairs in the first table by identifying that the key of the key-value pairs in the first table is not in the second table; generating a fault message indicating the mistake with the key in the first table; and replacing a first key in the first table and in the first set of instructions with a second key in the second table in response to determining that the first key is a variant of the second key in the second table.