Esempi

Gli esempi seguenti illustrano come preparare le applicazioni Qt per la traduzione:

  • Arrow Pad è un'applicazione in C++ che mostra come fare in modo che l'applicazione carichi le traduzioni in base alle impostazioni locali correnti. Mostra inoltre l'uso della forma a due argomenti di ` tr() `, che fornisce ulteriori informazioni al traduttore.
  • Troll Print è un'applicazione C++ che mostra come distinguere testi di origine identici nello stesso contesto. Illustra inoltre come ridurre al minimo il lavoro del traduttore in caso di aggiornamento dell'applicazione.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.