- use tr() method to wrap all translatable strings
- create the .ts files with lupdate command
- translate using Linguist
- create the compiled .qm files with lrelease command
Showing posts with label i18n. Show all posts
Showing posts with label i18n. Show all posts
Thursday, August 10, 2017
Internationalization with Qt VS Tools
The good news for people using Qt VS Tools addin is that translations work very well from within the Visual Studio environment. The whole lifecycle of translations in Qt, that is:
Wednesday, March 19, 2014
Embedded translations or not?
The fantastic internationalization support for text output provided by Qt makes use of translation files, which are created as the end result of a process of extracting the strings that are passed to tr() functions, translated into the desired language(s) and then generating fast compact versions (.qm files) of those translation files ready for use by the application.
Labels:
.qm,
i18n,
internalization,
lrelease,
lupdate,
Qt,
Qt Linguist,
translations
Friday, July 2, 2010
Dynamic translations with substituting arguments
I already expressed the importance of developing localized applications, in particular, using the tools provided by Qt framework for translating strings. From time to time, you'll be dealing with phrases that may include some dynamic text, it is, you likely don't know the exact phrase at translation time. For such situations, you may resort to variables within the phrases.
Thursday, February 18, 2010
Extending QTranslator
Although internationalization with Qt has very good tools to deal with translations inside an application, I was posed with the requirement to use existing files with proprietary format for the actual translated strings.
Subscribe to:
Posts (Atom)
