title: How to trigger a script only after a specific URL path with PHP
body: <p>i would like to trigger with PHP a JS script basically to change the inlinehmtl only after a specific URL path, basically for site translation purporses. To be more specific, i would like to trigger this JS script: </p>
  
  <p><code>document.getElementById("changeme").innerHTML = "Get Started";</code> </p>
  
  <p>Only when the English (to translate an html element that a WP plugin couldnt access) folder of the site is queried or:</p>
  
  <p>It would be the /en/ (en for english content) folder or example.com/en/ and also example.com/en/products.php  ...etc.</p>
  
  <p>Any ideas, how that PHP script would look like, thanx!</p>