Book Image

QT5 Blueprints

By : Symeon Huang
Book Image

QT5 Blueprints

By: Symeon Huang

Overview of this book

Table of Contents (17 chapters)
Qt 5 Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Internationalization of Qt applications


Internationalization and localization are the processes of adapting the application to other locales, which might include different languages and regional differences. In software development, internationalization refers to designing an application in such a way that it can be adapted to various languages and regions without code changes. On the other hand, localization means adapting internationalized software for a specific language or region. This usually involves locale-specific components and translating text.

Qt has done a lot to free developers from different writing systems. We don't need to worry about how different languages display and input, as long as we use Qt's input and display controls or their subclasses.

In most cases, what we need to do is to produce translations and enable them in the application. Qt offers the QTranslator class, which loads the translation file and displays the corresponding language on the screen. The procedure...