Extract transaltion strigns from tranlsate function - extracted from cakephp