Updated lang_links to use $lang as object.