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