xref: /linux/Documentation/sphinx/templates/translations.html (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1<!-- SPDX-License-Identifier: GPL-2.0 -->
2<!-- Copyright © 2023, Oracle and/or its affiliates. -->
3
4{# Create a language menu for translations #}
5{% if languages|length > 0: %}
6<div class="language-selection">
7{{ current_language }}
8
9<ul>
10{% for ref in languages: %}
11<li><a href="{{ ref.refuri }}">{{ ref.astext() }}</a></li>
12{% endfor %}
13</ul>
14</div>
15{% endif %}
16