What is the translator pattern in elm?
<p>In the <a href="https://www.elm-tutorial.org/en/" rel="nofollow noreferrer">elm git book</a> an architecture is described wherein child components generate messages which are disseminated via the main update function, eventually being handled by the appropriate update function in a child component. How does the translator pattern differ from this and what are the use cases of each pattern. Please provide a simple example.</p>