Added built-in support for translate() in PHP renderer generator