summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2019-09-23 15:52:09 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2019-09-25 07:06:56 +0000
commitb144e7c4f8219513ff77e078ff0eeb825a8ca4b5 (patch)
tree5b114d1d3c40392608a6cbd3c56232735220b98d /doc
parent1bbc62f9e4cd4e9e397d6f24de6cc3d6767e6f3b (diff)
downloadqt-creator-b144e7c4f8219513ff77e078ff0eeb825a8ca4b5.tar.gz
Doc: Generate translation source files when creating projects
Task-number: QTCREATORBUG-7453 Change-Id: I1d0af93c413f306287f5faef00e56180764133d1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/images/qmldesigner-new-project.pngbin54934 -> 22145 bytes
-rw-r--r--doc/src/howto/creator-only/creator-external-tools.qdoc6
-rw-r--r--doc/src/qtquick/creator-only/qtquick-creating.qdoc10
-rw-r--r--doc/src/qtquick/qtquick-properties.qdoc6
4 files changed, 21 insertions, 1 deletions
diff --git a/doc/images/qmldesigner-new-project.png b/doc/images/qmldesigner-new-project.png
index bd6679aa08..a5c34a4279 100644
--- a/doc/images/qmldesigner-new-project.png
+++ b/doc/images/qmldesigner-new-project.png
Binary files differ
diff --git a/doc/src/howto/creator-only/creator-external-tools.qdoc b/doc/src/howto/creator-only/creator-external-tools.qdoc
index a5038a6591..546efaf72a 100644
--- a/doc/src/howto/creator-only/creator-external-tools.qdoc
+++ b/doc/src/howto/creator-only/creator-external-tools.qdoc
@@ -52,7 +52,11 @@
code and translations. The lrelease tool is used to create run-time
translation files for use by the released application.
- To synchronize translation source (TS) files from a translator with the
+ When you \l{Creating Projects}{create a new project}, you can automatically
+ generate a translation source file (TS) for one language. You can add other
+ languages later by editing the project file.
+
+ To synchronize TS files from a translator with the
application code, select \uicontrol Tools > \uicontrol External >
\uicontrol Linguist > \uicontrol {Update Translations (lupdate)}.
diff --git a/doc/src/qtquick/creator-only/qtquick-creating.qdoc b/doc/src/qtquick/creator-only/qtquick-creating.qdoc
index 560d3a7671..d37992ed2e 100644
--- a/doc/src/qtquick/creator-only/qtquick-creating.qdoc
+++ b/doc/src/qtquick/creator-only/qtquick-creating.qdoc
@@ -128,6 +128,16 @@
\li Select \uicontrol Next.
+ \li In the \uicontrol Language field, select a language that you plan
+ to \l {Using Qt Linguist}{translate} the application to. You can
+ add other languages later by editing the project file.
+
+ \li In the \uicontrol {Translation file} field, you can edit the
+ name for the translation source file that will be generated
+ for the selected language.
+
+ \li Select \uicontrol Next.
+
\li Select \l{glossary-buildandrun-kit}{kits} for running and building
your project, and then click \uicontrol Next.
diff --git a/doc/src/qtquick/qtquick-properties.qdoc b/doc/src/qtquick/qtquick-properties.qdoc
index 4218edb04a..add17138c4 100644
--- a/doc/src/qtquick/qtquick-properties.qdoc
+++ b/doc/src/qtquick/qtquick-properties.qdoc
@@ -181,6 +181,12 @@
For more information, see
\l {Internationalization and Localization with Qt Quick}.
+ \if defined(qtcreator)
+ When you \l{Creating Qt Quick Projects}{create a new project}, you can
+ automatically generate a translation source file (TS) for one language.
+ You can add other languages later by editing the project file.
+ \endif
+
\section1 Loading Placeholder Data
The Design mode supports views, models, and delegates, so that when you add