minor refactor related to links including :lang argument