Creating, compiling and using custom translation tables