weblate/scripts/list-documentation-languages.py
renovate[bot] 738e05c368
fix(deps): update dependency weblate-language-data to v2026.8 (#19567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-14 15:07:15 +00:00

20 lines
405 B
Python
Executable file
Vendored

#!/usr/bin/env python
# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "weblate-language-data==2026.8",
# ]
# ///
import json
from weblate_language_data.docs import DOCUMENTATION_LANGUAGES
languages = list(DOCUMENTATION_LANGUAGES.values())
print(f"languages={json.dumps(languages)}")