jrnl/docs_theme/laungae_selector.html
Toshiyuki Yoshida a50566472f
Add Japanese translations and implement I18N support
- Add Japanese translations for documentation
- Implement I18N framework
- Update mkdocs.yml for multi-language support

This commit significantly enhances the project's internationalization.
2024-09-26 10:36:54 +09:00

23 lines
627 B
HTML

{% if config.theme.language %}
<div
class="rst-versions"
data-toggle="rst-versions"
role="note"
aria-label="versions"
>
<span class="rst-current-version" data-toggle="rst-current-version">
<span class="fa fa-book"> Language </span>
{{ config.theme.language }}
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
{% for lang in config.extra.alternate %} {% if lang.lang !=
config.theme.language %}
<dl>
<dt>{{ lang.name }}</dt>
<dd><a href="{{ lang.link }}">{{ lang.name }}</a></dd>
</dl>
{% endif %} {% endfor %}
</div>
</div>
{% endif %}