fix($translate): adding shim for trim