replace database queries with hard-coded language and direction attributes