issue 13018: translate does not accept immutable or const AAs

https://issues.dlang.org/show_bug.cgi?id=13018
and people are apparently using it