wmk

500 can be anything from a missing semicolon in your php code to... Does it work on your dev machine? what's different to live? any php error logs available?

greg_808

Has anyone an idea on what is going wrong when i suddenly can’t run dev/build?flush on a live site? It only returns 500. I am logged in as admin and i have changed the environment type to dev. I have no idea on what has changed. I know for sure that it has worked.

wmk

either translate in js somehow (ss comes with a tool for it), or pass the locale param to the ajax request. Or at least the cookie. If no locale is set, it uses the default locale

firesphere

You'll need to translate at runtime, not at render time

greg_808

How would i translate variables on a template the is called by ajax like:

  1. return $this->customise(['Partners' => $partners])->renderWith('AjaxPartnersList');
i used the
  1. <%t %>
function on the template but it doesn’t work.