allow language to be set from config