Unix/Linux Go Back    

CentOS 7.0 - man page for lrelease (centos section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

lrelease(1)									      lrelease(1)

       lrelease - generate Qt message files from Qt Linguist translation files

       lrelease [ options ] project-file
       lrelease [ options ] ts-files [ -qm qm-file ]

       This page documents the Qt Linguist Release tool for the Qt GUI toolkit.  Lrelease reads a
       qmake/tmake project file (.pro file) and converts the translation files (.ts files) speci-
       fied in it into Qt message files (.qm files) used by the application to translate.

       The  .qm  file  format is a compact binary format that provides extremely fast lookups for
       translations and that is used by Qt.

       -help  Display the usage and exit.

	      Do not compress the .qm files.

	      Explain what is being done.

	      Display the version of lrelease and exit.

       Here is an example .pro file that can be given to lrelease:

	   HEADERS	   = funnydialog.h \
	   SOURCES	   = funnydialog.cpp \
			     main.cpp \
	   FORMS	   = fancybox.ui
	   TRANSLATIONS    = gnomovision_dk.ts \
			     gnomovision_fi.ts \
			     gnomovision_no.ts \

       When running lrelease on this project file, the Qt message files gnomovision_dk.qm, gnomo-
       vision_fi.qm,  gnomovision_no.qm  and  gnomovision_se.qm  will  be generated from gnomovi-
       sion_dk.ts, gnomovision_fi.ts, gnomovision_no.ts and gnomovision_se.ts, respectively.

       Lrelease can also be invoked with a list of .ts files to convert:

	   lrelease gnomovision_*.ts

       lupdate(1) and http://doc.trolltech.com/i18n.html

Trolltech AS				 18 October 2001			      lrelease(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 02:04 AM.