xref: /linux/Documentation/sphinx/templates/translations.html (revision 63ba5b0fb4f54db256ec43b3062b2606b383055d)
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