add method to check if a translation exists, and remove html_safe from nls() method