title: Additional path prefix on drupal 7
body: <p>I have to build a multilingual website where you have to select your continent.</p>
  
  <p>So you can choose America while your are in English but also America in Spanish. Europe in French, but also in English etc.</p>
  
  <p>I have set language detection with path prefix on drupal 7. So my urls are like that <strong>domain.com/en/path-alias</strong>.</p>
  
  <p>Some contents on my website will be hide for some continent but a lot of content will be the same so I dont want to do a multisite.</p>
  
  <p>I wish to have urls like that <strong>domain.com/america/en/path-alias</strong>, <strong>domain.com/america/es/path-alias</strong> or <strong>domain.com/europe/fr/path-alias</strong>.
  I don't find any solution to do that.</p>
  
  <p>The module domain access looks cool but is not exactly what i want cause it works with subdomains while i want path prefix.</p>
  
  <p><strong>EDIT :</strong>
  Ok i have found the solution of my problem in the drupal API.</p>
  
  <p>This two hooks are exactly what i was looking for <a href="https://api.drupal.org/api/drupal/modules!system!system.api.php/function/hook_url_inbound_alter/7" rel="nofollow noreferrer">hook_url_inbound_alter</a>, <a href="https://api.drupal.org/api/drupal/modules!system!system.api.php/function/hook_url_outbound_alter/7" rel="nofollow noreferrer">hook_url_outbound_alter</a></p>