Add explanatory comments for translation logic