Added varargs get_translation function and sort the code to use it