Convert the page language to a locale when looking for meta data (see #5678)