issue 13018: translate does not accept immutable or const AAs

https://issues.dlang.org/show_bug.cgi?id=13018
Same things apply.