Doc: Generate translation source files when creating projects

Task-number: QTCREATORBUG-7453
Change-Id: I1d0af93c413f306287f5faef00e56180764133d1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Leena Miettinen
2019-09-23 15:52:09 +02:00
parent 1bbc62f9e4
commit b144e7c4f8
4 changed files with 21 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -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)}.

View File

@@ -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.

View File

@@ -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