Added ::trans() method to transform the translation of the given key