Val Vachaev

Val Vachaev

Articles posted by the author:

Dynamic Language Selection in Qt

Friday, May 22, 2015 - 14:30  •  By Val Vachaev  •  Qt, C++, localization, internationalization

In this blog post, we will show an example of how to support dynamic language selection in an application using Qt. By "dynamic", I mean that the application can change the displayed language from within the application at run-time, rather than picking it up from the locale once on startup. Text or ID-Based Translations? In this example we will be using the text identifier translation mechanism, which may not be familiar to you if you have only used Qt's more common string-based translation method using the tr() method.

Read full post