more efficient attr query, added lang to attr URL