Fix the bug failed to fetch correct name

Failed to fetch correct name because resource_id is not passed to 'translate_from_to'.