Different urls for front page depending on language I'm using entity translation module and want to have different urls for front page in accordance with languages.

For example:
front-eng
fr/front-page-for-france
pt/front-page-for-portugal
etc.
Use this code in your template file then you can page accoding to your choose language 

  function yourtheme_preprocess_page(&amp;$vars) {
        if ($vars['is_front']) {
            $langcode = $GLOBALS['language']-&gt;language;

            if ($langcode == "en") {
                drupal_goto('home');
            } elseif ($langcode == "fr") {
                drupal_goto('front-page-for-france pt');
            }
        }