issue 13018: translate does not accept immutable or const AAs

https://issues.dlang.org/show_bug.cgi?id=13018
R is strange selection of name. To me it would imply Range and since it's capital a type. 
But since it's value use lower case and pick something neutral like `val` or just e.g. `t`.