fix logic on check_translation_permissions(2)