weblate/scripts/list-documentation-languages.py
renovate[bot] 56ff05b470
fix(deps): update dependency weblate-language-data to v2026.7 (#18742)
* fix(deps): update dependency weblate-language-data to v2026.7

* chore(deps): update lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-31 17:24:06 +00:00

20 lines
405 B
Python
Executable file

#!/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.7",
# ]
# ///
import json
from weblate_language_data.docs import DOCUMENTATION_LANGUAGES
languages = list(DOCUMENTATION_LANGUAGES.values())
print(f"languages={json.dumps(languages)}")