translation extraction functions