aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc
diff options
context:
space:
mode:
authorAdrian Herrmann <adrian.herrmann@qt.io>2024-03-20 11:36:15 +0100
committerAdrian Herrmann <adrian.herrmann@qt.io>2024-03-20 14:21:26 +0100
commitbe008a93bf5839147934089aaf5e3fb1b2d090b9 (patch)
treeacac7211feacbf442eb6037e5993e7b569b0b3ab /sources/pyside6/doc
parentbf14b50063db42c0ee220adc563a5d680b270438 (diff)
doc: Add page for pyside6-linguist
Change-Id: I7151c589a8d619f6ba822e7995eb342600ef8015 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/doc')
-rw-r--r--sources/pyside6/doc/gettingstarted/package_details.rst6
-rw-r--r--sources/pyside6/doc/tools/pyside-linguist.rst20
-rw-r--r--sources/pyside6/doc/tools/pyside6-linguist_screenshot.webpbin0 -> 90474 bytes
3 files changed, 23 insertions, 3 deletions
diff --git a/sources/pyside6/doc/gettingstarted/package_details.rst b/sources/pyside6/doc/gettingstarted/package_details.rst
index 95c3e0c36..f4a8c7d03 100644
--- a/sources/pyside6/doc/gettingstarted/package_details.rst
+++ b/sources/pyside6/doc/gettingstarted/package_details.rst
@@ -175,19 +175,19 @@ Translations
:gutter: 3 3 4 5
.. grid-item-card:: ``pyside6-linguist``
- :link: translations
+ :link: pyside6-linguist
:link-type: ref
for translating text in applications.
.. grid-item-card:: ``pyside6-lrelease``
- :link: translations
+ :link: pyside6-lrelease
:link-type: ref
to create run-time translation files for the application.
.. grid-item-card:: ``pyside6-lupdate``
- :link: translations
+ :link: pyside6-lupdate
:link-type: ref
to synchronize source code and translations.
diff --git a/sources/pyside6/doc/tools/pyside-linguist.rst b/sources/pyside6/doc/tools/pyside-linguist.rst
new file mode 100644
index 000000000..e13124a8e
--- /dev/null
+++ b/sources/pyside6/doc/tools/pyside-linguist.rst
@@ -0,0 +1,20 @@
+.. _pyside6-linguist:
+
+pyside6-linguist
+=================
+
+``pyside6-linguist`` is a tool that wraps `Qt Linguist`_, Qt's tool to
+translate user interfaces and manage application localizations. It
+supports Qt's own TS file format as well as the XML Localization
+Interchange File Format (XLIFF). There are no differences between the
+version bundled with PySide and the one from Qt.
+
+For more information on how to use this tool, read Qt's documentation
+here: `Qt Linguist`_. Read more about how to translate PySide
+applications here: :ref:`translations`.
+
+.. image:: pyside6-linguist_screenshot.webp
+ :width: 500
+ :alt: PySide6 Linguist Screenshot
+
+.. _`Qt Linguist`: https://doc.qt.io/qt-6/qtlinguist-index.html
diff --git a/sources/pyside6/doc/tools/pyside6-linguist_screenshot.webp b/sources/pyside6/doc/tools/pyside6-linguist_screenshot.webp
new file mode 100644
index 000000000..cd91007ba
--- /dev/null
+++ b/sources/pyside6/doc/tools/pyside6-linguist_screenshot.webp
Binary files differ