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