diff --git a/doc/src/images/i18n-example.png b/doc/src/images/i18n-example.png
deleted file mode 100644
index 20c46c9e63a..00000000000
Binary files a/doc/src/images/i18n-example.png and /dev/null differ
diff --git a/examples/widgets/doc/src/i18n.qdoc b/examples/widgets/doc/src/i18n.qdoc
deleted file mode 100644
index 6077691b927..00000000000
--- a/examples/widgets/doc/src/i18n.qdoc
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
-
-/*!
- \example tools/i18n
- \title I18N Example
- \ingroup examples-widgets-tools
-
- \brief The Internationalization (I18N) example demonstrates Qt's support for translated
- text. Developers can write the initial application text in one language, and
- translations can be provided later without any modifications to the code. It also
- demonstrates how to detect the system language settings and show the UI in the appropriate
- language.
-
- \image i18n-example.png
-*/
diff --git a/examples/widgets/tools/CMakeLists.txt b/examples/widgets/tools/CMakeLists.txt
index ded4db7bba5..2de15d5a444 100644
--- a/examples/widgets/tools/CMakeLists.txt
+++ b/examples/widgets/tools/CMakeLists.txt
@@ -3,9 +3,6 @@
qt_internal_add_example(completer)
qt_internal_add_example(customcompleter)
-if(QT_FEATURE_translation)
- qt_internal_add_example(i18n)
-endif()
qt_internal_add_example(regularexpression)
qt_internal_add_example(settingseditor)
qt_internal_add_example(styleplugin)
diff --git a/examples/widgets/tools/i18n/CMakeLists.txt b/examples/widgets/tools/i18n/CMakeLists.txt
deleted file mode 100644
index 175f9934d7e..00000000000
--- a/examples/widgets/tools/i18n/CMakeLists.txt
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: BSD-3-Clause
-
-cmake_minimum_required(VERSION 3.16)
-project(i18n LANGUAGES CXX)
-
-set(CMAKE_AUTOMOC ON)
-
-if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
-endif()
-
-set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/tools/i18n")
-
-find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
-
-qt_add_executable(i18n
- languagechooser.cpp languagechooser.h
- main.cpp
- mainwindow.cpp mainwindow.h
-)
-
-set_target_properties(i18n PROPERTIES
- WIN32_EXECUTABLE TRUE
- MACOSX_BUNDLE TRUE
-)
-
-target_link_libraries(i18n PUBLIC
- Qt::Core
- Qt::Gui
- Qt::Widgets
-)
-
-# Resources:
-set(i18n_resource_files
- "translations/i18n_ar.qm"
- "translations/i18n_cs.qm"
- "translations/i18n_de.qm"
- "translations/i18n_el.qm"
- "translations/i18n_en.qm"
- "translations/i18n_eo.qm"
- "translations/i18n_fr.qm"
- "translations/i18n_it.qm"
- "translations/i18n_jp.qm"
- "translations/i18n_ko.qm"
- "translations/i18n_no.qm"
- "translations/i18n_ru.qm"
- "translations/i18n_sv.qm"
- "translations/i18n_zh.qm"
-)
-
-qt_add_resources(i18n "i18n"
- PREFIX
- "/"
- FILES
- ${i18n_resource_files}
-)
-
-install(TARGETS i18n
- RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
- BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
- LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
-)
diff --git a/examples/widgets/tools/i18n/i18n.pro b/examples/widgets/tools/i18n/i18n.pro
deleted file mode 100644
index a4d5e418ea3..00000000000
--- a/examples/widgets/tools/i18n/i18n.pro
+++ /dev/null
@@ -1,27 +0,0 @@
-QT += widgets
-requires(qtConfig(listwidget))
-
-HEADERS = languagechooser.h \
- mainwindow.h
-SOURCES = languagechooser.cpp \
- main.cpp \
- mainwindow.cpp
-RESOURCES += i18n.qrc
-TRANSLATIONS += translations/i18n_ar.ts \
- translations/i18n_cs.ts \
- translations/i18n_de.ts \
- translations/i18n_el.ts \
- translations/i18n_en.ts \
- translations/i18n_eo.ts \
- translations/i18n_fr.ts \
- translations/i18n_it.ts \
- translations/i18n_jp.ts \
- translations/i18n_ko.ts \
- translations/i18n_no.ts \
- translations/i18n_ru.ts \
- translations/i18n_sv.ts \
- translations/i18n_zh.ts
-
-# install
-target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/i18n
-INSTALLS += target
diff --git a/examples/widgets/tools/i18n/i18n.qrc b/examples/widgets/tools/i18n/i18n.qrc
deleted file mode 100644
index 16a89f140bb..00000000000
--- a/examples/widgets/tools/i18n/i18n.qrc
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- translations/i18n_ar.qm
- translations/i18n_cs.qm
- translations/i18n_de.qm
- translations/i18n_el.qm
- translations/i18n_en.qm
- translations/i18n_eo.qm
- translations/i18n_fr.qm
- translations/i18n_it.qm
- translations/i18n_jp.qm
- translations/i18n_ko.qm
- translations/i18n_no.qm
- translations/i18n_ru.qm
- translations/i18n_sv.qm
- translations/i18n_zh.qm
-
-
diff --git a/examples/widgets/tools/i18n/languagechooser.cpp b/examples/widgets/tools/i18n/languagechooser.cpp
deleted file mode 100644
index ff8dddd2da1..00000000000
--- a/examples/widgets/tools/i18n/languagechooser.cpp
+++ /dev/null
@@ -1,139 +0,0 @@
-// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-#include "languagechooser.h"
-#include "mainwindow.h"
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-LanguageChooser::LanguageChooser(const QString &defaultLang, QWidget *parent)
- : QDialog(parent, Qt::WindowStaysOnTopHint)
-{
- groupBox = new QGroupBox("Languages");
-
- QGridLayout *groupBoxLayout = new QGridLayout;
-
- const QStringList qmFiles = findQmFiles();
- for (int i = 0; i < qmFiles.size(); ++i) {
- const QString &qmFile = qmFiles.at(i);
- QCheckBox *checkBox = new QCheckBox(languageName(qmFile));
- qmFileForCheckBoxMap.insert(checkBox, qmFile);
- connect(checkBox, &QCheckBox::toggled,
- this, &LanguageChooser::checkBoxToggled);
- if (languageMatch(defaultLang, qmFile))
- checkBox->setCheckState(Qt::Checked);
- groupBoxLayout->addWidget(checkBox, i / 2, i % 2);
- }
- groupBox->setLayout(groupBoxLayout);
-
- buttonBox = new QDialogButtonBox;
- showAllButton = buttonBox->addButton("Show All",
- QDialogButtonBox::ActionRole);
- hideAllButton = buttonBox->addButton("Hide All",
- QDialogButtonBox::ActionRole);
-
- connect(showAllButton, &QAbstractButton::clicked, this, &LanguageChooser::showAll);
- connect(hideAllButton, &QAbstractButton::clicked, this, &LanguageChooser::hideAll);
-
- QVBoxLayout *mainLayout = new QVBoxLayout;
- mainLayout->addWidget(groupBox);
- mainLayout->addWidget(buttonBox);
- setLayout(mainLayout);
-
- setWindowTitle("I18N");
-}
-
-bool LanguageChooser::languageMatch(QStringView lang, QStringView qmFile)
-{
- //qmFile: i18n_xx.qm
- const QStringView prefix{ u"i18n_" };
- const int langTokenLength = 2; /*FIXME: is checking two chars enough?*/
- return qmFile.mid(qmFile.indexOf(prefix) + prefix.length(), langTokenLength) == lang.left(langTokenLength);
-}
-
-bool LanguageChooser::eventFilter(QObject *object, QEvent *event)
-{
- if (event->type() == QEvent::Close) {
- MainWindow *window = qobject_cast(object);
- if (window) {
- QCheckBox *checkBox = mainWindowForCheckBoxMap.key(window);
- if (checkBox)
- checkBox->setChecked(false);
- }
- }
- return QDialog::eventFilter(object, event);
-}
-
-void LanguageChooser::closeEvent(QCloseEvent * /* event */)
-{
- QCoreApplication::quit();
-}
-
-void LanguageChooser::checkBoxToggled()
-{
- QCheckBox *checkBox = qobject_cast(sender());
- MainWindow *window = mainWindowForCheckBoxMap.value(checkBox);
- if (!window) {
- QTranslator translator;
- const QString qmFile = qmFileForCheckBoxMap.value(checkBox);
- if (translator.load(qmFile))
- QCoreApplication::installTranslator(&translator);
- else
- qWarning("Unable to load %s", qPrintable(QDir::toNativeSeparators(qmFile)));
-
- window = new MainWindow;
- window->setPalette(colorForLanguage(checkBox->text()));
-
- window->installEventFilter(this);
- mainWindowForCheckBoxMap.insert(checkBox, window);
- }
- window->setVisible(checkBox->isChecked());
-}
-
-void LanguageChooser::showAll()
-{
- for (auto it = qmFileForCheckBoxMap.keyBegin(); it != qmFileForCheckBoxMap.keyEnd(); ++it)
- (*it)->setChecked(true);
-}
-
-void LanguageChooser::hideAll()
-{
- for (auto it = qmFileForCheckBoxMap.keyBegin(); it != qmFileForCheckBoxMap.keyEnd(); ++it)
- (*it)->setChecked(false);
-}
-
-QStringList LanguageChooser::findQmFiles()
-{
- QDir dir(":/translations");
- QStringList fileNames = dir.entryList(QStringList("*.qm"), QDir::Files,
- QDir::Name);
- for (QString &fileName : fileNames)
- fileName = dir.filePath(fileName);
- return fileNames;
-}
-
-QString LanguageChooser::languageName(const QString &qmFile)
-{
- QTranslator translator;
- if (!translator.load(qmFile)) {
- qWarning("Unable to load %s", qPrintable(QDir::toNativeSeparators(qmFile)));
- return {};
- }
- return translator.translate("MainWindow", "English");
-}
-
-QColor LanguageChooser::colorForLanguage(const QString &language)
-{
- size_t hashValue = qHash(language);
- int red = 156 + (hashValue & 0x3F);
- int green = 156 + ((hashValue >> 6) & 0x3F);
- int blue = 156 + ((hashValue >> 12) & 0x3F);
- return QColor(red, green, blue);
-}
diff --git a/examples/widgets/tools/i18n/languagechooser.h b/examples/widgets/tools/i18n/languagechooser.h
deleted file mode 100644
index b7b029bb0a7..00000000000
--- a/examples/widgets/tools/i18n/languagechooser.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-#ifndef LANGUAGECHOOSER_H
-#define LANGUAGECHOOSER_H
-
-#include
-#include
-#include
-
-QT_BEGIN_NAMESPACE
-class QAbstractButton;
-class QCheckBox;
-class QDialogButtonBox;
-class QGroupBox;
-QT_END_NAMESPACE
-class MainWindow;
-
-class LanguageChooser : public QDialog
-{
- Q_OBJECT
-
-public:
- explicit LanguageChooser(const QString &defaultLang = QString(), QWidget *parent = nullptr);
-
-protected:
- bool eventFilter(QObject *object, QEvent *event) override;
- void closeEvent(QCloseEvent *event) override;
-
-private slots:
- void checkBoxToggled();
- void showAll();
- void hideAll();
-
-private:
- static QStringList findQmFiles();
- static QString languageName(const QString &qmFile);
- static QColor colorForLanguage(const QString &language);
- static bool languageMatch(QStringView lang, QStringView qmFile);
-
- QGroupBox *groupBox;
- QDialogButtonBox *buttonBox;
- QAbstractButton *showAllButton;
- QAbstractButton *hideAllButton;
- QHash qmFileForCheckBoxMap;
- QHash mainWindowForCheckBoxMap;
-};
-
-#endif
diff --git a/examples/widgets/tools/i18n/main.cpp b/examples/widgets/tools/i18n/main.cpp
deleted file mode 100644
index c7133bd6824..00000000000
--- a/examples/widgets/tools/i18n/main.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-#include
-#include
-#include "languagechooser.h"
-#include "mainwindow.h"
-
-int main(int argc, char *argv[])
-{
- Q_INIT_RESOURCE(i18n);
-
- QApplication app(argc, argv);
- LanguageChooser chooser(QLocale::system().name());
- chooser.show();
- return app.exec();
-}
diff --git a/examples/widgets/tools/i18n/mainwindow.cpp b/examples/widgets/tools/i18n/mainwindow.cpp
deleted file mode 100644
index e8feb06aa52..00000000000
--- a/examples/widgets/tools/i18n/mainwindow.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-#include "mainwindow.h"
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-static const char * const listEntries[] = {
- QT_TRANSLATE_NOOP("MainWindow", "First"),
- QT_TRANSLATE_NOOP("MainWindow", "Second"),
- QT_TRANSLATE_NOOP("MainWindow", "Third"),
- nullptr
-};
-
-MainWindow::MainWindow(QWidget *parent)
- : QMainWindow(parent)
-{
- centralWidget = new QWidget;
- setCentralWidget(centralWidget);
-
- createGroupBox();
-
- listWidget = new QListWidget;
- for (const char *entry : listEntries)
- listWidget->addItem(tr(entry));
-
- QVBoxLayout *mainLayout = new QVBoxLayout;
- mainLayout->addWidget(groupBox);
- mainLayout->addWidget(listWidget);
- centralWidget->setLayout(mainLayout);
-
- exitAction = new QAction(tr("E&xit"), this);
- connect(exitAction, &QAction::triggered, qApp, QCoreApplication::quit);
-
- fileMenu = menuBar()->addMenu(tr("&File"));
- fileMenu->setPalette(QPalette(Qt::red));
- fileMenu->addAction(exitAction);
-
- setWindowTitle(tr("Language: %1").arg(tr("English")));
- statusBar()->showMessage(tr("Internationalization Example"));
-
- if (tr("LTR") == "RTL")
- setLayoutDirection(Qt::RightToLeft);
-}
-
-void MainWindow::createGroupBox()
-{
- groupBox = new QGroupBox(tr("View"));
- perspectiveRadioButton = new QRadioButton(tr("Perspective"));
- isometricRadioButton = new QRadioButton(tr("Isometric"));
- obliqueRadioButton = new QRadioButton(tr("Oblique"));
- perspectiveRadioButton->setChecked(true);
-
- QVBoxLayout *groupBoxLayout = new QVBoxLayout;
- groupBoxLayout->addWidget(perspectiveRadioButton);
- groupBoxLayout->addWidget(isometricRadioButton);
- groupBoxLayout->addWidget(obliqueRadioButton);
- groupBox->setLayout(groupBoxLayout);
-}
diff --git a/examples/widgets/tools/i18n/mainwindow.h b/examples/widgets/tools/i18n/mainwindow.h
deleted file mode 100644
index 1552b94fcd2..00000000000
--- a/examples/widgets/tools/i18n/mainwindow.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include
-
-QT_BEGIN_NAMESPACE
-class QAction;
-class QGroupBox;
-class QLabel;
-class QListWidget;
-class QMenu;
-class QRadioButton;
-QT_END_NAMESPACE
-
-class MainWindow : public QMainWindow
-{
- Q_OBJECT
-
-public:
- MainWindow(QWidget *parent = nullptr);
-
-private:
- void createGroupBox();
-
- QWidget *centralWidget;
- QLabel *label;
- QGroupBox *groupBox;
- QListWidget *listWidget;
- QRadioButton *perspectiveRadioButton;
- QRadioButton *isometricRadioButton;
- QRadioButton *obliqueRadioButton;
- QMenu *fileMenu;
- QAction *exitAction;
-};
-
-#endif
diff --git a/examples/widgets/tools/i18n/translations/i18n_ar.qm b/examples/widgets/tools/i18n/translations/i18n_ar.qm
deleted file mode 100644
index a134c468bb7..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_ar.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_ar.ts b/examples/widgets/tools/i18n/translations/i18n_ar.ts
deleted file mode 100644
index a7ec2c94045..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_ar.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- First
- أول
-
-
- Internationalization Example
- مثال التدويل
-
-
- Isometric
- متماثل
-
-
- Language: %1
- اللغة: %1
-
-
- English
- العربية
-
-
- Oblique
- مصمت
-
-
- Perspective
- منظور
-
-
- Second
- ثانى
-
-
- Third
- ثالث
-
-
- View
- مرئى
-
-
- E&xit
- أخرج
-
-
- &File
- الملف
-
-
- LTR
- RTL
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_cs.qm b/examples/widgets/tools/i18n/translations/i18n_cs.qm
deleted file mode 100644
index 5b7ff95b050..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_cs.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_cs.ts b/examples/widgets/tools/i18n/translations/i18n_cs.ts
deleted file mode 100644
index 6c4dee9b2e5..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_cs.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- View
- Pohled
-
-
- &File
- &Soubor
-
-
- E&xit
- &Konec
-
-
- First
- První
-
-
- Third
- Třetí
-
-
- Language: %1
- Jayzk: %1
-
-
- English
- Český
-
-
- Oblique
- Nakloněný
-
-
- Second
- Druhý
-
-
- Isometric
- Isometrický
-
-
- Perspective
- Perspektivní
-
-
- Internationalization Example
- Ukázka lokalizace
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_de.qm b/examples/widgets/tools/i18n/translations/i18n_de.qm
deleted file mode 100644
index 177fc49b8bc..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_de.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_de.ts b/examples/widgets/tools/i18n/translations/i18n_de.ts
deleted file mode 100644
index 249a61d0206..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_de.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- View
- Ansicht
-
-
- &File
- &Datei
-
-
- E&xit
- Be&enden
-
-
- First
- Erstens
-
-
- Third
- Drittens
-
-
- English
- Deutsch
-
-
- Language: %1
- Sprache: %1
-
-
- Oblique
- Schief
-
-
- Second
- Zweitens
-
-
- Isometric
- Isometrisch
-
-
- Perspective
- Perspektivisch
-
-
- Internationalization Example
- Internationalisierungsbeispiel
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_el.qm b/examples/widgets/tools/i18n/translations/i18n_el.qm
deleted file mode 100644
index 5483291bb0b..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_el.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_el.ts b/examples/widgets/tools/i18n/translations/i18n_el.ts
deleted file mode 100644
index d23a0aad3ec..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_el.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- &File
- &Αρχείο
-
-
- E&xit
- Έ&ξοδος
-
-
- First
- Πρώτο
-
-
- Internationalization Example
- Παράδειγμα διεθνοποίησης
-
-
- Isometric
- Ισομετρική
-
-
- Language: %1
- Γλώσσα: %1
-
-
- English
- Ελληνικά
-
-
- Oblique
- Πλάγια
-
-
- Perspective
- Προοπτική
-
-
- Second
- Δεύτερο
-
-
- Third
- Τρίτο
-
-
- View
- Όψη
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_en.qm b/examples/widgets/tools/i18n/translations/i18n_en.qm
deleted file mode 100644
index 9190ac7e6fb..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_en.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_en.ts b/examples/widgets/tools/i18n/translations/i18n_en.ts
deleted file mode 100644
index ca38e958c14..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_en.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- E&xit
- E&xit
-
-
- &File
- &File
-
-
- Internationalization Example
- Internationalization Example
-
-
- Language: %1
- Language: %1
-
-
- English
- English
-
-
- View
- View
-
-
- Perspective
- Perspective
-
-
- Isometric
- Isometric
-
-
- Oblique
- Oblique
-
-
- First
- First
-
-
- Second
- Second
-
-
- Third
- Third
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_eo.qm b/examples/widgets/tools/i18n/translations/i18n_eo.qm
deleted file mode 100644
index a8457bef069..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_eo.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_eo.ts b/examples/widgets/tools/i18n/translations/i18n_eo.ts
deleted file mode 100644
index 16a37becd95..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_eo.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- &File
- &Dosiero
-
-
- First
- Unue
-
-
- Internationalization Example
- Ekzemplo pri internaciigo
-
-
- Isometric
- Isometria
-
-
- Language: %1
- Lingvo: %1
-
-
- English
- Esperanto
-
-
- Oblique
- Oblikva
-
-
- Perspective
- Perspektiva
-
-
- Second
- Due
-
-
- Third
- Trie
-
-
- View
- Aspekto
-
-
- E&xit
- &Fini
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_fr.qm b/examples/widgets/tools/i18n/translations/i18n_fr.qm
deleted file mode 100644
index 3e8a69b80dd..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_fr.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_fr.ts b/examples/widgets/tools/i18n/translations/i18n_fr.ts
deleted file mode 100644
index 0012892ef2c..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_fr.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- View
- Vue
-
-
- &File
- &Fichier
-
-
- E&xit
- &Quitter
-
-
- First
- Premier
-
-
- Third
- Troisième
-
-
- Language: %1
- Langue : %1
-
-
- English
- Français
-
-
- Oblique
- Oblique
-
-
- Second
- Deuxième
-
-
- Isometric
- Isométrique
-
-
- Perspective
- Perspective
-
-
- Internationalization Example
- Exemple d'internationalisation
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_it.qm b/examples/widgets/tools/i18n/translations/i18n_it.qm
deleted file mode 100644
index 3dffd305483..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_it.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_it.ts b/examples/widgets/tools/i18n/translations/i18n_it.ts
deleted file mode 100644
index d516a277b6d..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_it.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- First
- Primo
-
-
- Internationalization Example
- Esempio di localizzazione
-
-
- Isometric
- Isometrica
-
-
- Language: %1
- Lingua: %1
-
-
- English
- Italiano
-
-
- Oblique
- Obliqua
-
-
- Perspective
- Prospettica
-
-
- Second
- Secondo
-
-
- Third
- Terzo
-
-
- View
- Vista
-
-
- E&xit
- &Esci
-
-
- &File
- &File
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_jp.qm b/examples/widgets/tools/i18n/translations/i18n_jp.qm
deleted file mode 100644
index 017bc96cfc1..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_jp.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_jp.ts b/examples/widgets/tools/i18n/translations/i18n_jp.ts
deleted file mode 100644
index 067b5a8a0b4..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_jp.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- &File
- ファイル(&F)
-
-
- E&xit
- 終了(&X)
-
-
- First
- 第一行
-
-
- Internationalization Example
- 国際化(i18n)の例
-
-
- Isometric
- 等角投影法
-
-
- Language: %1
- 言語: %1
-
-
- English
- 日本語
-
-
- Oblique
- 斜め投影法
-
-
- Perspective
- 遠近法
-
-
- Second
- 第二行
-
-
- Third
- 第三行
-
-
- View
- 表示方式
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_ko.qm b/examples/widgets/tools/i18n/translations/i18n_ko.qm
deleted file mode 100644
index d61b93db397..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_ko.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_ko.ts b/examples/widgets/tools/i18n/translations/i18n_ko.ts
deleted file mode 100644
index bfd5924518e..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_ko.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- &File
- 파일&F
-
-
- E&xit
- 종료&X
-
-
- First
- 첫번째
-
-
- Internationalization Example
- 국제화 예제
-
-
- Isometric
- 등측도
-
-
- Language: %1
- 언어 : %1
-
-
- English
- 한국어
-
-
- Oblique
- 빗각
-
-
- Perspective
- 원근화법
-
-
- Second
- 두번째
-
-
- Third
- 세번째
-
-
- View
- 보기
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_no.qm b/examples/widgets/tools/i18n/translations/i18n_no.qm
deleted file mode 100644
index c84b0d74bad..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_no.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_no.ts b/examples/widgets/tools/i18n/translations/i18n_no.ts
deleted file mode 100644
index 2e069749971..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_no.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- View
- Vis
-
-
- &File
- &Fil
-
-
- E&xit
- &Avslutt
-
-
- First
- Første
-
-
- Third
- Tredje
-
-
- Language: %1
- Språk: %1
-
-
- English
- Norsk
-
-
- Oblique
- Skjevt
-
-
- Second
- Andre
-
-
- Isometric
- Isometrisk
-
-
- Perspective
- Perspektiv
-
-
- Internationalization Example
- Internasjonaliseringseksempel
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_ru.qm b/examples/widgets/tools/i18n/translations/i18n_ru.qm
deleted file mode 100644
index a76e1b87033..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_ru.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_ru.ts b/examples/widgets/tools/i18n/translations/i18n_ru.ts
deleted file mode 100644
index 748cc12fd9e..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_ru.ts
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
- MainWindow
-
- View
- Вид
-
-
- &File
- Файл
-
-
- E&xit
- Выход
-
-
- First
- Первый
-
-
- Third
- Третий
-
-
- Language: %1
- Язык: %1
-
-
- English
- Русский
-
-
- Oblique
- Курсив
-
-
- Second
- Второй
-
-
- Isometric
- Изометрический
-
-
- Perspective
- Перспектива
-
-
- Internationalization Example
- Пример интернационализации
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_sv.qm b/examples/widgets/tools/i18n/translations/i18n_sv.qm
deleted file mode 100644
index 7204b308b1a..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_sv.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_sv.ts b/examples/widgets/tools/i18n/translations/i18n_sv.ts
deleted file mode 100644
index ac4ab98bd36..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_sv.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- View
- Visa
-
-
- &File
- &Arkiv
-
-
- E&xit
- &Avsluta
-
-
- First
- Första
-
-
- Third
- Tredje
-
-
- Language: %1
- Språk: %1
-
-
- English
- Svenska
-
-
- Oblique
- Skevt
-
-
- Second
- Andra
-
-
- Isometric
- Isometriskt
-
-
- Perspective
- Perspektivt
-
-
- Internationalization Example
- Internationaliseringsexempel
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/i18n/translations/i18n_zh.qm b/examples/widgets/tools/i18n/translations/i18n_zh.qm
deleted file mode 100644
index 32053f46335..00000000000
Binary files a/examples/widgets/tools/i18n/translations/i18n_zh.qm and /dev/null differ
diff --git a/examples/widgets/tools/i18n/translations/i18n_zh.ts b/examples/widgets/tools/i18n/translations/i18n_zh.ts
deleted file mode 100644
index 3b715470a8b..00000000000
--- a/examples/widgets/tools/i18n/translations/i18n_zh.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- MainWindow
-
- View
- 视图
-
-
- &File
- 文件[&F]
-
-
- E&xit
- 退出[&x]
-
-
- First
- 第一个
-
-
- Third
- 第三个
-
-
- Language: %1
- 语言: %1
-
-
- English
- 简体中文
-
-
- Oblique
- 斜投影
-
-
- Second
- 第二个
-
-
- Isometric
- 等角投影
-
-
- Perspective
- 透视投影
-
-
- Internationalization Example
- 国际化范例
-
-
- LTR
- LTR
-
-
-
diff --git a/examples/widgets/tools/tools.pro b/examples/widgets/tools/tools.pro
index d2a02deb6bb..cd8035336e4 100644
--- a/examples/widgets/tools/tools.pro
+++ b/examples/widgets/tools/tools.pro
@@ -3,7 +3,6 @@ SUBDIRS = \
completer \
customcompleter \
echoplugin \
- i18n \
plugandpaint \
regularexpression \
settingseditor \
@@ -12,8 +11,6 @@ SUBDIRS = \
undo \
undoframework
-contains(DEFINES, QT_NO_TRANSLATION): SUBDIRS -= i18n
-
!qtConfig(library) {
SUBDIRS -= \
echoplugin \