Added domain-aware version of the translate filter, named translateDomain filter.

It might make more sense to merge these into one, but for the time being this will do.