title: Redirection to 404 Static Multilanguage pages with htaccess
body: <p>I have an issue with a multilanguage project.</p>
  
  <p>I should redirect user to static 404.html pages regarding the current locale in the url.</p>
  
  <blockquote>
    <p>www.example.com/en/foo/randomfile.html -> www.example.com/en/404.html
    www.example.com/it/foo/randomfile.html -> www.example.com/it/404.html</p>
  </blockquote>
  
  <p>I found the <strong>ErrorDocument</strong> directive of htaccess but I need to know the best practice to contextualize the locale.</p>
  
  <p>I don't realy know the RewriteEngine so may be the answer is obvious</p>