<commit_before><li class="dropdown language">
    <a class="dropdown-toggle" href="#">{{ app.request.attributes.get('_locale') }}</a>
	<ul class="dropdown-menu">
		{% for locale in locales %}
			<li {% if app.request.attributes.get('_locale') == locale %}class="active"{% endif %}><a href="{{ path(route,  app.request.attributes.all|merge({ '_locale': locale })) }}">{{ locale }}</a></li>
		{% endfor %}
	</ul>
</li><commit_msg>Dont display the language chooser when there is only one language<commit_after>{% if locales|length > 1 %}
<li class="dropdown language">
    <a class="dropdown-toggle" href="#">{{ app.request.attributes.get('_locale') }}</a>
	<ul class="dropdown-menu">
		{% for locale in locales %}
			<li {% if app.request.attributes.get('_locale') == locale %}class="active"{% endif %}><a href="{{ path(route,  app.request.attributes.all|merge({ '_locale': locale })) }}">{{ locale }}</a></li>
		{% endfor %}
	</ul>
</li>
{% endif %}
{'fraction_non_alphanumeric': 0.23628691983122363, 'fraction_numerical': 0.0010548523206751054, 'mean_word_length': 5.083333333333333, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 24, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4439536', 'n_tokens_mistral': 336, 'n_tokens_neox': 302, 'n_words': 76}