forked from qt-creator/qt-creator
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:
Binary file not shown.
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 22 KiB |
@@ -52,7 +52,11 @@
|
|||||||
code and translations. The lrelease tool is used to create run-time
|
code and translations. The lrelease tool is used to create run-time
|
||||||
translation files for use by the released application.
|
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 >
|
application code, select \uicontrol Tools > \uicontrol External >
|
||||||
\uicontrol Linguist > \uicontrol {Update Translations (lupdate)}.
|
\uicontrol Linguist > \uicontrol {Update Translations (lupdate)}.
|
||||||
|
|
||||||
|
@@ -128,6 +128,16 @@
|
|||||||
|
|
||||||
\li Select \uicontrol Next.
|
\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
|
\li Select \l{glossary-buildandrun-kit}{kits} for running and building
|
||||||
your project, and then click \uicontrol Next.
|
your project, and then click \uicontrol Next.
|
||||||
|
|
||||||
|
@@ -181,6 +181,12 @@
|
|||||||
For more information, see
|
For more information, see
|
||||||
\l {Internationalization and Localization with Qt Quick}.
|
\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
|
\section1 Loading Placeholder Data
|
||||||
|
|
||||||
The Design mode supports views, models, and delegates, so that when you add
|
The Design mode supports views, models, and delegates, so that when you add
|
||||||
|
Reference in New Issue
Block a user