Refactor translation functions arguments handeling