Refactoring method check_translation