added translation functions to all files