<commit_before><!doctype html>

<html lang="fr" dir="ltr">
  <head>
    <title>Transvision</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="/style/glossary.css" type="text/css" media="all" />
    <link rel="shortcut icon" type="image/x-icon" href="http://www.mozfr.org/favicon.ico" />
  </head>

<body id="<?=$page?>">
  <h1><?=$title?></h1>
  <?=$extra?>
  <?=$content?>

  <div id="links">
    <ul>
        <?php
            $check['repo'] = isset($check['repo']) ? $check['repo'] : 'central';
            $sourceLocale = isset($sourceLocal) ? $sourceLocale : 'en-US';
            $locale = isset($locale) ? $locale : 'fr';
            $initial_search = isset($initial_search) ? $initial_search : 'Bookmarks';
        ?>
      <li><a href="/?sourcelocale=<?=$sourceLocale?>&locale=<?=$locale?>&repo=<?=$check['repo']?>&t2t=t2t&recherche=<?=$initial_search?>" title="Search in the Glossary">Glossary</a></li>
      <li><a href="/accesskeys/" title="Check your access keys">Access Keys</a></li>
      <li><a href="/channelcomparison/" title="Compare strings from channel to channel">Channel Comparison</a></li>
      <li><a href="/stats/" title="Light usage statistics">Statistics</a></li>
      <li><a href="/credits/" title="Transvision Credits page">Credits</a></li>
    </ul>
  </div>
  <footer>Transvision is a tool provided by the French Mozilla community, <a href="http://www.mozfr.org" title="Home of MozFR, the French Mozilla Community" hreflang="fr">MozFR</a>.</footer>

</body>
</html><commit_msg>add dynamic locale code in html element in template<commit_after><?php
$check['repo'] = isset($check['repo']) ? $check['repo'] : 'central';
$sourceLocale = isset($sourceLocal) ? $sourceLocale : 'en-US';
$locale = isset($locale) ? $locale : 'fr';
$initial_search = isset($initial_search) ? $initial_search : 'Bookmarks';
?>
<!doctype html>

<html lang="<?=$locale?>" dir="ltr">
  <head>
    <title>Transvision</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="/style/glossary.css" type="text/css" media="all" />
    <link rel="shortcut icon" type="image/x-icon" href="http://www.mozfr.org/favicon.ico" />
  </head>

<body id="<?=$page?>">
  <h1><?=$title?></h1>
  <?=$extra?>
  <?=$content?>

  <div id="links">
    <ul>
      <li><a href="/?sourcelocale=<?=$sourceLocale?>&locale=<?=$locale?>&repo=<?=$check['repo']?>&t2t=t2t&recherche=<?=$initial_search?>" title="Search in the Glossary">Glossary</a></li>
      <li><a href="/accesskeys/" title="Check your access keys">Access Keys</a></li>
      <li><a href="/channelcomparison/" title="Compare strings from channel to channel">Channel Comparison</a></li>
      <li><a href="/stats/" title="Light usage statistics">Statistics</a></li>
      <li><a href="/credits/" title="Transvision Credits page">Credits</a></li>
    </ul>
  </div>
  <footer>Transvision is a tool provided by the French Mozilla community, <a href="http://www.mozfr.org" title="Home of MozFR, the French Mozilla Community" hreflang="fr">MozFR</a>.</footer>

</body>
</html>
{'fraction_non_alphanumeric': 0.22485207100591717, 'fraction_numerical': 0.003287310979618672, 'mean_word_length': 4.502712477396022, 'pattern_counts': {'":': 0, '<': 106, '<?xml version=': 0, '>': 106, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4084044', 'n_tokens_mistral': 1044, 'n_tokens_neox': 1032, 'n_words': 209}