Set document language preferences