Does Dialekt work with dynamic JavaScript content?

Yes. In order to have canonical URLs, we provide a .htaccess file that adds them. Same page loads, then we translate it in the frontend like we always do.