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