provide the tr() method for outputting translated strings