CLN: minor changes to `_translate` to simplify and setup for other chgs.
minor changes here to decouple the render dict `d` into sections for code readability.

this is also first part of other changes to improve readability of this method. 

sure