Drupal Association members fund grants that make connections all over the world.
We're using ESI in a multilingual site, and the block we've converted to ESI is always shown in the default site language. We traced that problem to function
esi_build_uri which does not take language into consideration.
To fix this, we're using function
url instead of appending
base_path(). Patch attached.