Message Handling in Qt

Qt provides its own message handling mechanism similar to message catalog and 'gettext()'. In Qt, QOblect::tr() method is called instead of 'catgets()' or 'gettext()'. In the methods of a subclass of QObject, just describing 'tr()' is enough.

The following components are related to the Qt message handling.

-------------------------------------------------------------------
Component	      Description
-------------------------------------------------------------------
QObject::tr	      Gets a message (method)
QT_TR_NOOP	      Directs message extraction to a tool (macro)
QT_TRANSLATE_NOOP     Directs message extraction to a tool (macro)
-------------------------------------------------------------------

Go to Internationalization Programming Top


Copyright (C) 2012 Kokusaika JP, Inc.
All rights reserved. No reproduction or republication without written permission.