sharedcontent: added optional `language` parameter to set explicit language